summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2012-04-20 11:50:01 -0700
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-04-23 09:30:14 +0200
commita85d4bcb8a0cd5b3c754f98ff91ef2b9b3a73bc5 (patch)
tree0c1f195ce4d6ef024c5933c162710c80fb44bbd1 /arch/x86
parent3801a7fd8615365a58960561d3bd3479b485ed3e (diff)
downloadop-kernel-dev-a85d4bcb8a0cd5b3c754f98ff91ef2b9b3a73bc5.zip
op-kernel-dev-a85d4bcb8a0cd5b3c754f98ff91ef2b9b3a73bc5.tar.gz
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 <chris@chris-wilson.co.uk> Sincere-apologies: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com> [danvet: fixup 32bit compile-fail.] Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud