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)

Reported-by: Andrew Morton <a...@linux-foundation.org>
Cc: Alex Williamson <alex.william...@redhat.com>
Cc: Marcelo Tosatti <mtosa...@redhat.com>
Cc: Gleb Natapov <g...@redhat.com>
Cc: Ralf Baechle <r...@linux-mips.org>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
Signed-off-by: Sanjay Lal <sanj...@kymasys.com>
---

arch/mips/include/asm/kvm_host.h |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/mips/include/asm/kvm_host.h~mips-define-kvm_user_mem_slots 
arch/mips/include/asm/kvm_host.h
--- a/arch/mips/include/asm/kvm_host.h~mips-define-kvm_user_mem_slots
+++ a/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


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to