diff options
author | Geoff Levand <geoff@infradead.org> | 2013-04-05 15:20:30 -0400 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-04-08 06:02:00 -0400 |
commit | fc1b74925f87f6aca5432eb73f6a57eff30afde7 (patch) | |
tree | f0b14d3914f4d3d9881f8058372ee1de00a85361 /arch/x86/include | |
parent | a63cb56061239372fce2452dbedd35c95bd665aa (diff) |
KVM: Move vm_list kvm_lock declarations out of x86
The variables vm_list and kvm_lock are common to all architectures, so
move the declarations from arch/x86/include/asm/kvm_host.h to
include/linux/kvm_host.h.
Fixes sparse warnings like these when building for arm64:
virt/kvm/kvm_main.c: warning: symbol 'kvm_lock' was not declared. Should it be static?
virt/kvm/kvm_main.c: warning: symbol 'vm_list' was not declared. Should it be static?
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 3dd84c996d56..628163c0c6e4 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -94,9 +94,6 @@ | |||
94 | 94 | ||
95 | #define ASYNC_PF_PER_VCPU 64 | 95 | #define ASYNC_PF_PER_VCPU 64 |
96 | 96 | ||
97 | extern raw_spinlock_t kvm_lock; | ||
98 | extern struct list_head vm_list; | ||
99 | |||
100 | struct kvm_vcpu; | 97 | struct kvm_vcpu; |
101 | struct kvm; | 98 | struct kvm; |
102 | struct kvm_async_pf; | 99 | struct kvm_async_pf; |