aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-08-11 16:54:20 -0700
committerAvi Kivity <avi@qumranet.com>2008-10-15 10:15:21 +0200
commitee032c993edd34e0bdf64dab06a55d0e08a4eeb9 (patch)
tree56ce84e950df0e25036140768aefd5817b9bd7f8 /arch/x86/kvm/x86.c
parentKVM: Use kvm_set_irq to inject interrupts (diff)
downloadlinux-dev-ee032c993edd34e0bdf64dab06a55d0e08a4eeb9.tar.xz
linux-dev-ee032c993edd34e0bdf64dab06a55d0e08a4eeb9.zip
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>
Diffstat (limited to '')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 1 insertions, 1 deletions
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[] = {
{ NULL }
};
-struct kvm_assigned_dev_kernel *kvm_find_assigned_dev(struct list_head *head,
+static struct kvm_assigned_dev_kernel *kvm_find_assigned_dev(struct list_head *head,
int assigned_dev_id)
{
struct list_head *ptr;