linux/tools/testing/selftests/powerpc/primitives
Michael Ellerman abb39bc792 selftests/powerpc: Fix build failure of load_unaligned_zeropad test
Commit 7a5692e6e5 ("arch/powerpc: provide zero_bytemask() for
big-endian") added a call to __fls() in our word-at-a-time.h. That was
fine for the kernel build but missed the fact that we also use
word-at-a-time.h in a userspace test.

Pulling in the kernel version of __fls() gets messy, so just define our
own, it's unlikely to change often.

Fixes: 7a5692e6e5 ("arch/powerpc: provide zero_bytemask() for big-endian")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-10-13 15:08:37 +11:00
..
asm
.gitignore selftests/powerpc: Make git ignore all binaries in powerpc test suite 2015-01-23 14:02:49 +11:00
load_unaligned_zeropad.c selftests/powerpc: Fix build failure of load_unaligned_zeropad test 2015-10-13 15:08:37 +11:00
Makefile selftests: Add install support for the powerpc tests 2015-03-19 12:38:51 -06:00
word-at-a-time.h