diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-03-10 17:51:09 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 04:48:29 -0400 |
commit | 386eb6e8b3caface8a0514da70a47c05cabb5b96 (patch) | |
tree | 6af78c17e8b8928ff999adbf93406dac28e998ff /arch/x86/kvm/lapic.c | |
parent | 0b5d7a2ccb98f0403b1969295429724af9dc9d8e (diff) |
KVM: make 'lapic_timer_ops' and 'kpit_ops' static
Fix this sparse warnings:
arch/x86/kvm/lapic.c:916:22: warning: symbol 'lapic_timer_ops' was not declared. Should it be static?
arch/x86/kvm/i8254.c:268:22: warning: symbol 'kpit_ops' 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 'arch/x86/kvm/lapic.c')
-rw-r--r-- | arch/x86/kvm/lapic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index dd934d27040f..4d76bb6c5e51 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c | |||
@@ -913,7 +913,7 @@ void kvm_apic_nmi_wd_deliver(struct kvm_vcpu *vcpu) | |||
913 | kvm_apic_local_deliver(apic, APIC_LVT0); | 913 | kvm_apic_local_deliver(apic, APIC_LVT0); |
914 | } | 914 | } |
915 | 915 | ||
916 | struct kvm_timer_ops lapic_timer_ops = { | 916 | static struct kvm_timer_ops lapic_timer_ops = { |
917 | .is_periodic = lapic_is_periodic, | 917 | .is_periodic = lapic_is_periodic, |
918 | }; | 918 | }; |
919 | 919 | ||