diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2011-08-25 23:47:35 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-29 15:25:29 -0400 |
commit | 1cda0fd6096355ad4b0d99b691c2f9ca3198d745 (patch) | |
tree | 5b0e4fbfe3b7e3893b258046a92b2f6066f0ae74 /drivers/net/smc91x.c | |
parent | 397e5d5b93ba99ad3dc56f1e294f487e77d2daa8 (diff) |
p54: 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.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/smc91x.c')
0 files changed, 0 insertions, 0 deletions