aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-20 20:19:13 -0500
committerAvi Kivity <avi@redhat.com>2009-03-24 05:03:14 -0400
commitcded19f396bc3c9d299331709d0a9fbc6ecc148a (patch)
treeb6aa4f8246e7341965d0100fec6c65a156235fed /virt/kvm
parentd7364a29b305862cbc92b3f8b6ad9968270d068c (diff)
KVM: fix sparse warnings: Should it be static?
Impact: Make symbols static. Fix this sparse warnings: arch/x86/kvm/mmu.c:992:5: warning: symbol 'mmu_pages_add' was not declared. Should it be static? arch/x86/kvm/mmu.c:1124:5: warning: symbol 'mmu_pages_next' was not declared. Should it be static? arch/x86/kvm/mmu.c:1144:6: warning: symbol 'mmu_pages_clear_parents' was not declared. Should it be static? arch/x86/kvm/x86.c:2037:5: warning: symbol 'kvm_read_guest_virt' was not declared. Should it be static? arch/x86/kvm/x86.c:2067:5: warning: symbol 'kvm_write_guest_virt' was not declared. Should it be static? virt/kvm/irq_comm.c:220:5: warning: symbol 'setup_routing_entry' was not declared. Should it be static? Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt/kvm')
-rw-r--r--virt/kvm/irq_comm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/virt/kvm/irq_comm.c b/virt/kvm/irq_comm.c
index a70d805e014..864ac5483ba 100644
--- a/virt/kvm/irq_comm.c
+++ b/virt/kvm/irq_comm.c
@@ -233,8 +233,8 @@ void kvm_free_irq_routing(struct kvm *kvm)
233 __kvm_free_irq_routing(&kvm->irq_routing); 233 __kvm_free_irq_routing(&kvm->irq_routing);
234} 234}
235 235
236int setup_routing_entry(struct kvm_kernel_irq_routing_entry *e, 236static int setup_routing_entry(struct kvm_kernel_irq_routing_entry *e,
237 const struct kvm_irq_routing_entry *ue) 237 const struct kvm_irq_routing_entry *ue)
238{ 238{
239 int r = -EINVAL; 239 int r = -EINVAL;
240 int delta; 240 int delta;