[PATCH] ppc: fix undefined reference to hweight32
authorAkinobu Mita <mita@miraclelinux.com>
Sun, 26 Mar 2006 09:39:28 +0000 (01:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:57:13 +0000 (08:57 -0800)
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>
arch/ppc/Kconfig

index 54a0a9bb12ddd1d6dfbbd790dce465e2226d162d..3a3e302b4ea247c15ae53e3bd4bdb2f1e3b1f69b 100644 (file)
@@ -19,6 +19,10 @@ config RWSEM_XCHGADD_ALGORITHM
        bool
        default y
 
+config GENERIC_HWEIGHT
+       bool
+       default y
+
 config GENERIC_CALIBRATE_DELAY
        bool
        default y