mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
Chris' fix for my 32b breakage was incorrect. do_div returns a remainder. Go back to a divide macro which is more 32b friendly. Tested on x86-64. This has only been compile tested on 32b systems. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48756 Cc: Chris Wilson <[email protected]> Sincere-apologies: Chris Wilson <[email protected]> Signed-off-by: Ben Widawsky <[email protected]> [danvet: fixup 32bit compile-fail.] Signed-Off-by: Daniel Vetter <[email protected]>