From: Ben Widawsky Date: Fri, 20 Apr 2012 18:50:01 +0000 (-0700) Subject: drm/i915: rc6 residency (fix the fix) X-Git-Tag: v3.5-rc1~83^2~81^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a85d4bcb8a0cd5b3c754f98ff91ef2b9b3a73bc5;p=pandora-kernel.git drm/i915: rc6 residency (fix the fix) 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 Sincere-apologies: Chris Wilson Signed-off-by: Ben Widawsky [danvet: fixup 32bit compile-fail.] Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed