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
bnep
cmtp
hidp
rfcomm
Kconfig -rw-r--r-- 2.2 KB
Makefile -rw-r--r-- 412 bytes
af_bluetooth.c -rw-r--r-- 12.4 KB
hci_conn.c -rw-r--r-- 21.7 KB
hci_core.c -rw-r--r-- 50.5 KB
hci_event.c -rw-r--r-- 71.2 KB
hci_sock.c -rw-r--r-- 17.1 KB
hci_sysfs.c -rw-r--r-- 13.9 KB
l2cap_core.c -rw-r--r-- 97.8 KB
l2cap_sock.c -rw-r--r-- 22.8 KB
lib.c -rw-r--r-- 3.0 KB
mgmt.c -rw-r--r-- 47.6 KB
sco.c -rw-r--r-- 21.4 KB
smp.c -rw-r--r-- 15.6 KB

back to top