powerpc: Hardcode popcnt instructions for old assemblers
authorAnton Blanchard <anton@samba.org>
Tue, 7 Dec 2010 19:58:17 +0000 (19:58 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 9 Dec 2010 04:35:30 +0000 (15:35 +1100)
commitb5f9b6665b70b4c844bed5452f6a14743eefa57c
tree51c632149aa23af7eaa68283416dba9d8b8ee3b8
parentb8c49def6d73321724bab66dd30526744b482f0a
powerpc: Hardcode popcnt instructions for old assemblers

The popcnt instructions went into binutils relatively recently. As with a
number of other instructions, create macros and hardcode them.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/lib/hweight_64.S