From: Sanjay Lal Date: Tue, 26 Mar 2013 23:24:02 +0000 (+1100) Subject: mips: define KVM_USER_MEM_SLOTS X-Git-Tag: next-20130404~3^2~506 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d2b37f8522c84dab7f6c1c40190524161e353893;p=karo-tx-linux.git mips: define KVM_USER_MEM_SLOTS ARCH=mips, config=fuloong2e_defconfig: akpm3:/usr/src/25> make arch/mips/kernel/early_printk.o ... CC arch/mips/kernel/asm-offsets.s In file included from arch/mips/kernel/asm-offsets.c:20: include/linux/kvm_host.h:334: error: `KVM_USER_MEM_SLOTS' undeclared here (not in a function) Signed-off-by: Sanjay Lal Reported-by: Andrew Morton Cc: Alex Williamson Cc: Marcelo Tosatti Cc: Gleb Natapov Cc: Ralf Baechle Signed-off-by: Andrew Morton --- diff --git a/arch/mips/include/asm/kvm_host.h b/arch/mips/include/asm/kvm_host.h index c8cddd10630c..143875c6c95a 100644 --- a/arch/mips/include/asm/kvm_host.h +++ b/arch/mips/include/asm/kvm_host.h @@ -21,7 +21,7 @@ #define KVM_MAX_VCPUS 1 -#define KVM_MEMORY_SLOTS 8 +#define KVM_USER_MEM_SLOTS 8 /* memory slots that does not exposed to userspace */ #define KVM_PRIVATE_MEM_SLOTS 0