Use do_div on older kernel where do_div64 doesn't exist.

This commit is contained in:
Brian Behlendorf 2009-06-26 13:10:52 -07:00
parent 155189d4a7
commit c0517c35d2
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ uint64_t __udivdi3(uint64_t dividend, uint64_t divisor)
} else
d = divisor;
return do_div64(dividend, d);
return do_div(dividend, d);
#endif /* HAVE_DIV64_64, HAVE_DIV64_U64 */
}
EXPORT_SYMBOL(__udivdi3);