From c0517c35d244beea61ff443f1e6e7229ef6337fe Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 26 Jun 2009 13:10:52 -0700 Subject: [PATCH] Use do_div on older kernel where do_div64 doesn't exist. --- module/spl/spl-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);