mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-04-06 17:49:11 +03:00
Use do_div on older kernel where do_div64 doesn't exist.
This commit is contained in:
parent
155189d4a7
commit
c0517c35d2
@ -113,7 +113,7 @@ uint64_t __udivdi3(uint64_t dividend, uint64_t divisor)
|
|||||||
} else
|
} else
|
||||||
d = divisor;
|
d = divisor;
|
||||||
|
|
||||||
return do_div64(dividend, d);
|
return do_div(dividend, d);
|
||||||
#endif /* HAVE_DIV64_64, HAVE_DIV64_U64 */
|
#endif /* HAVE_DIV64_64, HAVE_DIV64_U64 */
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(__udivdi3);
|
EXPORT_SYMBOL(__udivdi3);
|
||||||
|
Loading…
Reference in New Issue
Block a user