[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 54a0a9b..3a3e302 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