Revision bd823821e68e5de6d680cbbf1c8654c9c36674e1 authored by Geert Uytterhoeven on 30 August 2011, 13:17:03 UTC, committed by Linus Torvalds on 30 August 2011, 17:12:05 UTC
If there are no builtin users of find_next_bit_le() and
find_next_zero_bit_le(), these functions are not present in the kernel
image, causing m68k allmodconfig to fail with:

  ERROR: "find_next_zero_bit_le" [fs/ufs/ufs.ko] undefined!
  ERROR: "find_next_bit_le" [fs/udf/udf.ko] undefined!
  ...

This started to happen after commit 171d809df189 ("m68k: merge mmu and
non-mmu bitops.h"), as m68k had its own inline versions before.

commit 63e424c84429 ("arch: remove CONFIG_GENERIC_FIND_{NEXT_BIT,
BIT_LE, LAST_BIT}") added find_last_bit.o to obj-y (so it's always
included), but find_next_bit.o to lib-y (so it gets removed by the
linker if there are no builtin users).

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Greg Ungerer <gerg@uclinux.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 90e9364
History
File Mode Size
Kconfig -rw-r--r-- 2.7 KB
Makefile -rw-r--r-- 422 bytes
addr.c -rw-r--r-- 3.8 KB
addr.h -rw-r--r-- 615 bytes
atm_misc.c -rw-r--r-- 2.6 KB
atm_sysfs.c -rw-r--r-- 4.2 KB
br2684.c -rw-r--r-- 21.7 KB
clip.c -rw-r--r-- 24.0 KB
common.c -rw-r--r-- 20.9 KB
common.h -rw-r--r-- 1.6 KB
ioctl.c -rw-r--r-- 9.3 KB
lec.c -rw-r--r-- 63.3 KB
lec.h -rw-r--r-- 5.1 KB
lec_arpc.h -rw-r--r-- 2.9 KB
mpc.c -rw-r--r-- 38.2 KB
mpc.h -rw-r--r-- 1.9 KB
mpoa_caches.c -rw-r--r-- 14.7 KB
mpoa_caches.h -rw-r--r-- 3.0 KB
mpoa_proc.c -rw-r--r-- 7.2 KB
pppoatm.c -rw-r--r-- 10.7 KB
proc.c -rw-r--r-- 11.5 KB
protocols.h -rw-r--r-- 379 bytes
pvc.c -rw-r--r-- 3.7 KB
raw.c -rw-r--r-- 1.8 KB
resources.c -rw-r--r-- 9.9 KB
resources.h -rw-r--r-- 1019 bytes
signaling.c -rw-r--r-- 6.9 KB
signaling.h -rw-r--r-- 838 bytes
svc.c -rw-r--r-- 16.4 KB

back to top