From d2b37f8522c84dab7f6c1c40190524161e353893 Mon Sep 17 00:00:00 2001 From: Sanjay Lal Date: Wed, 27 Mar 2013 10:24:02 +1100 Subject: [PATCH] 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 --- arch/mips/include/asm/kvm_host.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5