mirror_ubuntu-kernels/drivers/net/wireless
Arnd Bergmann 31ced24d88 iwlegacy: mark il_adjust_beacon_interval as noinline
With the new optimized do_div() code, some versions of gcc
produce obviously incorrect code that leads to a link error
in iwlegacy/common.o:

drivers/built-in.o: In function `il_send_rxon_timing':
:(.text+0xa6b4d4): undefined reference to `____ilog2_NaN'
:(.text+0xa6b4f0): undefined reference to `__aeabi_uldivmod'

In a few thousand randconfig builds, I have seen this problem
a couple of times in this file, but never anywhere else in the
kernel, so we can try to work around this in the only file
that shows the behavior, by marking the il_adjust_beacon_interval
function as noinline, which convinces gcc to use the unoptimized
do_div() all the time.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-12-11 13:50:14 +02:00
..
admtek adm80211: move under admtek vendor directory 2015-11-17 19:49:19 +02:00
ath brcfmac 2015-12-08 12:39:15 -05:00
atmel atmel: move under atmel vendor directory 2015-11-18 11:19:07 +02:00
broadcom brcm80211: fix compare_const_fl.cocci warnings 2015-12-11 13:25:25 +02:00
cisco wireless: airo: re-use mac_pton() 2015-11-30 14:59:28 +02:00
intel iwlegacy: mark il_adjust_beacon_interval as noinline 2015-12-11 13:50:14 +02:00
intersil prism54: fix compare_const_fl.cocci warnings 2015-12-11 13:47:47 +02:00
marvell mwifiex: fix semicolon.cocci warnings 2015-12-11 13:40:21 +02:00
mediatek mediatek: unify Kconfig with other vendors 2015-11-18 14:28:31 +02:00
ralink rt2x00: type bug in _rt2500usb_register_read() 2015-11-30 14:57:49 +02:00
realtek rtlwifi: fix memory leak for USB device 2015-12-11 13:48:42 +02:00
rsi rsi: add vendor Kconfig entry 2015-11-18 14:28:31 +02:00
st cw1200: remove some dead code 2015-12-11 13:15:08 +02:00
ti wlcore: split wl12xx/wl18xx sg parameters 2015-12-11 13:10:59 +02:00
zydas zd1211rw: move under zydas vendor directory 2015-11-18 14:28:30 +02:00
Kconfig mac80211_hwsim: move Kconfig entry for sorting alphabetically 2015-11-18 15:23:36 +02:00
mac80211_hwsim.c mac80211_hwsim: check ATTR_FREQ for wmediumd (netlink) packets 2015-12-04 14:43:32 +01:00
mac80211_hwsim.h
Makefile ath: unify Kconfig with other vendors 2015-11-18 14:28:31 +02:00
ray_cs.c ray_cs: Change 1 to true for bool type variable. 2015-06-02 23:30:14 +03:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: fix checking for default value 2015-09-22 16:14:32 -07:00
wl3501_cs.c
wl3501.h