Browse Source

[PATCH] um: fix undefined reference to hweight32

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>
Akinobu Mita 19 years ago
parent
commit
f214ef3e19
2 changed files with 10 additions and 0 deletions
  1. 5 0
      arch/um/Kconfig.i386
  2. 5 0
      arch/um/Kconfig.x86_64

+ 5 - 0
arch/um/Kconfig.i386

@@ -52,3 +52,8 @@ config ARCH_HAS_SC_SIGNALS
 config ARCH_REUSE_HOST_VSYSCALL_AREA
 config ARCH_REUSE_HOST_VSYSCALL_AREA
 	bool
 	bool
 	default y
 	default y
+
+config GENERIC_HWEIGHT
+	bool
+	default y
+

+ 5 - 0
arch/um/Kconfig.x86_64

@@ -46,3 +46,8 @@ config ARCH_REUSE_HOST_VSYSCALL_AREA
 config SMP_BROKEN
 config SMP_BROKEN
 	bool
 	bool
 	default y
 	default y
+
+config GENERIC_HWEIGHT
+	bool
+	default y
+