summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/dell-wmi.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2011-08-25 15:00:54 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-08-26 10:47:58 -0400
commit80d6e96be80593ae98a5d68c9ae4e054359d1a89 (patch)
tree0a78c5b5b80a42cc611b65fe47f9e4b750c57f35 /drivers/platform/x86/dell-wmi.c
parent5a63ef0faf90985c847a2f924a72a22830ed1c10 (diff)
carl9170: Use do_div for 64-bit division to fix 32-bit kernels
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>
Diffstat (limited to 'drivers/platform/x86/dell-wmi.c')
0 files changed, 0 insertions, 0 deletions