From: David Daney Date: Fri, 25 Jun 2010 23:46:07 +0000 (-0700) Subject: MIPS: Create and use asm/arch_hweight.h X-Git-Tag: v2.6.36-rc1~563^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a403d1d2e549bc7d280001503867321572717f6;p=pandora-kernel.git MIPS: Create and use asm/arch_hweight.h Some MIPS ISA processor varients can do hweight operations efficiently. Split arch_hweight.h into a seperate file, and implement the operations with __builtin_popcount{,ll} if supported. Signed-off-by: David Daney To: linux-mips@linux-mips.org Cc: David Daney Patchwork: https://patchwork.linux-mips.org/patch/1430/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed