summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorGeoff Levand2013-04-05 21:20:30 +0200
committerGleb Natapov2013-04-08 12:02:00 +0200
commitfc1b74925f87f6aca5432eb73f6a57eff30afde7 (patch)
treef0b14d3914f4d3d9881f8058372ee1de00a85361 /virt
parentKVM: VMX: Add missing braces to avoid redundant error check (diff)
downloadkernel-qcow2-linux-fc1b74925f87f6aca5432eb73f6a57eff30afde7.tar.gz
kernel-qcow2-linux-fc1b74925f87f6aca5432eb73f6a57eff30afde7.tar.xz
kernel-qcow2-linux-fc1b74925f87f6aca5432eb73f6a57eff30afde7.zip
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 'virt')
0 files changed, 0 insertions, 0 deletions