commit | 1cda0fd6096355ad4b0d99b691c2f9ca3198d745 | [log] [tgz] |
---|---|---|
author | Christian Lamparter <chunkeey@googlemail.com> | Thu Aug 25 23:47:35 2011 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Aug 29 15:25:29 2011 -0400 |
tree | 5b0e4fbfe3b7e3893b258046a92b2f6066f0ae74 | |
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>