[-mm patch 5/8] um: fix undefined reference to hweight32
From: Akinobu Mita
Date: Mon Feb 20 2006 - 22:47:49 EST
Build fix for user mode linux.
Signed-off-by: Akinobu Mita <mita@xxxxxxxxxxxxxxxx>
Cc: Jeff Dike <jdike@xxxxxxxxxx>
arch/um/Kconfig.i386 | 5 +++++
arch/um/Kconfig.x86_64 | 5 +++++
2 files changed, 10 insertions(+)
Index: 2.6-mm/arch/um/Kconfig.i386
===================================================================
--- 2.6-mm.orig/arch/um/Kconfig.i386
+++ 2.6-mm/arch/um/Kconfig.i386
@@ -52,3 +52,8 @@ config ARCH_HAS_SC_SIGNALS
config ARCH_REUSE_HOST_VSYSCALL_AREA
bool
default y
+
+config GENERIC_HWEIGHT
+ bool
+ default y
+
Index: 2.6-mm/arch/um/Kconfig.x86_64
===================================================================
--- 2.6-mm.orig/arch/um/Kconfig.x86_64
+++ 2.6-mm/arch/um/Kconfig.x86_64
@@ -46,3 +46,8 @@ config ARCH_REUSE_HOST_VSYSCALL_AREA
config SMP_BROKEN
bool
default y
+
+config GENERIC_HWEIGHT
+ bool
+ default y
+
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/