[PATCH] um: fix undefined reference to hweight32
Akinobu Mita [Sun, 26 Mar 2006 09:38:59 +0000 (01:38 -0800)]
Build fix for user mode linux.

Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

arch/um/Kconfig.i386
arch/um/Kconfig.x86_64

index ef79ed2..85e6a55 100644 (file)
@@ -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 aae19bc..f60e9e5 100644 (file)
@@ -46,3 +46,8 @@ config ARCH_REUSE_HOST_VSYSCALL_AREA
 config SMP_BROKEN
        bool
        default y
+
+config GENERIC_HWEIGHT
+       bool
+       default y
+