diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-08-11 19:54:20 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-10-15 04:15:21 -0400 |
commit | ee032c993edd34e0bdf64dab06a55d0e08a4eeb9 (patch) | |
tree | 56ce84e950df0e25036140768aefd5817b9bd7f8 | |
parent | 29c8fa32c5d1e2d26d53ad9467b3a13130014cdf (diff) |
KVM: make irq ack notifier functions static
sparse says:
arch/x86/kvm/x86.c:107:32: warning: symbol 'kvm_find_assigned_dev' was not declared. Should it be static?
arch/x86/kvm/i8254.c:225:6: warning: symbol 'kvm_pit_ack_irq' was not declared. Should it be static?
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Avi Kivity <avi@qumranet.com>
-rw-r--r-- | arch/x86/kvm/i8254.c | 2 | ||||
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/i8254.c b/arch/x86/kvm/i8254.c index fdaa0f00e478..4cb443026ec4 100644 --- a/arch/x86/kvm/i8254.c +++ b/arch/x86/kvm/i8254.c | |||
@@ -222,7 +222,7 @@ int pit_has_pending_timer(struct kvm_vcpu *vcpu) | |||
222 | return 0; | 222 | return 0; |
223 | } | 223 | } |
224 | 224 | ||
225 | void kvm_pit_ack_irq(struct kvm_irq_ack_notifier *kian) | 225 | static void kvm_pit_ack_irq(struct kvm_irq_ack_notifier *kian) |
226 | { | 226 | { |
227 | struct kvm_kpit_state *ps = container_of(kian, struct kvm_kpit_state, | 227 | struct kvm_kpit_state *ps = container_of(kian, struct kvm_kpit_state, |
228 | irq_ack_notifier); | 228 | irq_ack_notifier); |
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 5b3c8821b191..22edd95712ee 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -104,7 +104,7 @@ struct kvm_stats_debugfs_item debugfs_entries[] = { | |||
104 | { NULL } | 104 | { NULL } |
105 | }; | 105 | }; |
106 | 106 | ||
107 | struct kvm_assigned_dev_kernel *kvm_find_assigned_dev(struct list_head *head, | 107 | static struct kvm_assigned_dev_kernel *kvm_find_assigned_dev(struct list_head *head, |
108 | int assigned_dev_id) | 108 | int assigned_dev_id) |
109 | { | 109 | { |
110 | struct list_head *ptr; | 110 | struct list_head *ptr; |