diff options
author | Brian Behlendorf <[email protected]> | 2009-06-26 13:10:52 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-06-26 13:10:52 -0700 |
commit | c0517c35d244beea61ff443f1e6e7229ef6337fe (patch) | |
tree | 1be93b30985e0fd1bb254fa03bf65e14314737ff | |
parent | 155189d4a72da0aee986193826ceb2cf602c690e (diff) |
Use do_div on older kernel where do_div64 doesn't exist.
-rw-r--r-- | module/spl/spl-generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/spl/spl-generic.c b/module/spl/spl-generic.c index fe6350079..568d40635 100644 --- a/module/spl/spl-generic.c +++ b/module/spl/spl-generic.c @@ -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); |