summaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib/Makefile
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-07-29 18:42:07 +0200
committerDavid S. Miller <davem@davemloft.net>2011-08-03 06:28:50 +0200
commitef7c4d4675d2a9206f913f26ca1a5cd41bff9d41 (patch)
tree88839b80e603ba395882df98b8a8c8f8385337b1 /arch/sparc/lib/Makefile
parentsparc: Minor tweaks to Niagara page copy/clear. (diff)
downloadlinux-ef7c4d4675d2a9206f913f26ca1a5cd41bff9d41.tar.xz
linux-ef7c4d4675d2a9206f913f26ca1a5cd41bff9d41.zip
sparc: Use popc if possible for hweight routines.
Just like powerpc, we code patch at boot time. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/lib/Makefile')
-rw-r--r--arch/sparc/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/lib/Makefile b/arch/sparc/lib/Makefile
index c25f94d28df8..11c850a9b66f 100644
--- a/arch/sparc/lib/Makefile
+++ b/arch/sparc/lib/Makefile
@@ -37,7 +37,7 @@ lib-$(CONFIG_SPARC64) += GENmemcpy.o GENcopy_from_user.o GENcopy_to_user.o
lib-$(CONFIG_SPARC64) += GENpatch.o GENpage.o GENbzero.o
lib-$(CONFIG_SPARC64) += copy_in_user.o user_fixup.o memmove.o
-lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o
+lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o hweight.o
obj-y += iomap.o
obj-$(CONFIG_SPARC32) += atomic32.o