mirror of https://gitee.com/openkylin/linux.git
80d6e96be8
Use the do_div macro for 64-bit division. Otherwise, the module will reference __udivdi3 under 32-bit kernels, which is not allowed in kernel space. drivers/built-in.o: In function `carl9170_collect_tally': cmd.c:191: undefined reference to `__udivdi3' cmd.c:192: undefined reference to `__udivdi3' cmd.c:193: undefined reference to `__udivdi3' Reported-by: Kalle Valo <kvalo@adurom.com> Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Tested-by: Kalle Valo <kvalo@adurom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
carl9170.h | ||
cmd.c | ||
cmd.h | ||
debug.c | ||
debug.h | ||
eeprom.h | ||
fw.c | ||
fwcmd.h | ||
fwdesc.h | ||
hw.h | ||
led.c | ||
mac.c | ||
main.c | ||
phy.c | ||
phy.h | ||
rx.c | ||
tx.c | ||
usb.c | ||
version.h | ||
wlan.h |