m68k: bitops - offset == ((long)p - (long)vaddr) * 8
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 3 Apr 2011 11:32:00 +0000 (13:32 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 19 May 2011 16:19:09 +0000 (18:19 +0200)
commit359c47ea71be21c1105ae474e8c90ec3e988bbdf
tree0a7d06bad6deb8539716301439d88b269185c61d
parent61c4f2c81c61f73549928dfd9f3e8f26aa36a8cf
m68k: bitops - offset == ((long)p - (long)vaddr) * 8

Hence use "offset" in find_next_{,zero_}bit(), like is already done for
find_next_{,zero_}bit_le()

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/bitops_mm.h