Skip to content
Commit abb39bc7 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

selftests/powerpc: Fix build failure of load_unaligned_zeropad test



Commit 7a5692e6 ("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: 7a5692e6 ("arch/powerpc: provide zero_bytemask() for big-endian")
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent f2dd80ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment