On Fri, 20 Apr 2012 11:50:01 -0700, Ben Widawsky <[email protected]> wrote: > 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]> > Signed-off-by: Ben Widawsky <[email protected]> Sincere-apologies: Chris Wilson <[email protected]>
Had I looked for the equivalent 64bit DIV_ROUND_UP, I could have saved myself some embarrassment. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
