]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mips: define KVM_USER_MEM_SLOTS
authorSanjay Lal <sanjayl@kymasys.com>
Tue, 26 Mar 2013 23:24:02 +0000 (10:24 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 05:53:01 +0000 (16:53 +1100)
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 <sanjayl@kymasys.com>
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Gleb Natapov <gleb@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/mips/include/asm/kvm_host.h

index c8cddd10630ccef1c10e9f702a448a43cdeee85d..143875c6c95add1730f000ba326c7b2237f593a8 100644 (file)
@@ -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