diff options
author | Akinobu Mita <mita@miraclelinux.com> | 2006-03-26 04:38:59 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 11:57:09 -0500 |
commit | f214ef3e193dea10a7b527d4f4b0c15d2d98c984 (patch) | |
tree | 070e24ed0f819fb47ee964fd85752b1a1ab2a8a5 /arch | |
parent | 0b28002fdf2d5b6ce3135a544c04940a16c5b0ba (diff) |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/Kconfig.i386 | 5 | ||||
-rw-r--r-- | arch/um/Kconfig.x86_64 | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/um/Kconfig.i386 b/arch/um/Kconfig.i386 index ef79ed25aecd..85e6a55b3b59 100644 --- a/arch/um/Kconfig.i386 +++ b/arch/um/Kconfig.i386 | |||
@@ -52,3 +52,8 @@ config ARCH_HAS_SC_SIGNALS | |||
52 | config ARCH_REUSE_HOST_VSYSCALL_AREA | 52 | config ARCH_REUSE_HOST_VSYSCALL_AREA |
53 | bool | 53 | bool |
54 | default y | 54 | default y |
55 | |||
56 | config GENERIC_HWEIGHT | ||
57 | bool | ||
58 | default y | ||
59 | |||
diff --git a/arch/um/Kconfig.x86_64 b/arch/um/Kconfig.x86_64 index aae19bc4b06a..f60e9e506424 100644 --- a/arch/um/Kconfig.x86_64 +++ b/arch/um/Kconfig.x86_64 | |||
@@ -46,3 +46,8 @@ config ARCH_REUSE_HOST_VSYSCALL_AREA | |||
46 | config SMP_BROKEN | 46 | config SMP_BROKEN |
47 | bool | 47 | bool |
48 | default y | 48 | default y |
49 | |||
50 | config GENERIC_HWEIGHT | ||
51 | bool | ||
52 | default y | ||
53 | |||