powerpc: Add more PPC bit conversion macros
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Apr 2017 07:54:47 +0000 (17:54 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 6 Apr 2017 09:58:53 +0000 (19:58 +1000)
commit22bd64a621cc80beeb009abec3d3df98ec0131c5
tree5fe6528fce0bc67a496d4e720e938453fe2f5328
parenteeea1a434ddedbb5aaeac1a8661445b3ae3eb539
powerpc: Add more PPC bit conversion macros

Add 32 and 8 bit variants

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/bitops.h