diff --git a/[refs] b/[refs] index 9e8952ac5fc8..c79f947fac17 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a23414beb6607dfd40d3245f7df9dd97a4e2c82b +refs/heads/master: 00557b59c69ce284e5a61bcfcdbcc3dc867cb2da diff --git a/trunk/arch/powerpc/lib/bitops.c b/trunk/arch/powerpc/lib/bitops.c index b67ce3004ebf..f68ad71a0187 100644 --- a/trunk/arch/powerpc/lib/bitops.c +++ b/trunk/arch/powerpc/lib/bitops.c @@ -41,7 +41,7 @@ unsigned long find_next_bit(const unsigned long *addr, unsigned long size, tmp = *p; found_first: - tmp &= (~0UL >> (64 - size)); + tmp &= (~0UL >> (BITS_PER_LONG - size)); if (tmp == 0UL) /* Are any bits set? */ return result + size; /* Nope. */ found_middle: