Преглед изворни кода

[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 година
родитељ
комит
f214ef3e19
2 измењених фајлова са 10 додато и 0 уклоњено
  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
 	bool
 	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
 	bool
 	default y
+
+config GENERIC_HWEIGHT
+	bool
+	default y
+