summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAkinobu Mita <mita@miraclelinux.com>2006-03-26 01:39:28 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-26 08:57:13 -0800
commit4c5aea053d64bee7a776a4b874e1b417e9f316fe (patch)
tree4d76b4732d55eec1bd32072aade5ac648cf87b5b /arch
parentd5728b45da6a510b74f07e385b3ef6b434b828e5 (diff)
downloadlinux-4c5aea053d64bee7a776a4b874e1b417e9f316fe.tar.gz
linux-4c5aea053d64bee7a776a4b874e1b417e9f316fe.tar.bz2
linux-4c5aea053d64bee7a776a4b874e1b417e9f316fe.zip
[PATCH] ppc: fix undefined reference to hweight32
Build fix for ppc 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/ppc/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig
index 54a0a9bb12dd..3a3e302b4ea2 100644
--- a/arch/ppc/Kconfig
+++ b/arch/ppc/Kconfig
@@ -19,6 +19,10 @@ config RWSEM_XCHGADD_ALGORITHM
bool
default y
+config GENERIC_HWEIGHT
+ bool
+ default y
+
config GENERIC_CALIBRATE_DELAY
bool
default y