From: Geoff Levand Date: Fri, 5 Apr 2013 19:20:30 +0000 (+0000) Subject: KVM: Move vm_list kvm_lock declarations out of x86 X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~32^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc1b74925f87f6aca5432eb73f6a57eff30afde7;p=pandora-kernel.git 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 Signed-off-by: Gleb Natapov --- Reading git-diff-tree failed