diff options
| author | Chris Wilson <[email protected]> | 2016-11-23 15:07:14 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-11-29 11:41:33 +0000 |
| commit | 24603935830b2bb2a8536ea1b68d49a9f82451fe (patch) | |
| tree | 3639da31b5ef8c99f4d240a055e8264dd5a59314 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 49d73912cbfcaa3eba109a44ee71200c12fa27ef (diff) | |
drm/i915/perf: Wrap 64bit divides in do_div()
Just a couple of naked 64bit divides causing link errors on 32bit
builds, with:
ERROR: "__udivdi3" [drivers/gpu/drm/i915/i915.ko] undefined!
v2: do_div() is only u64/u32, we need a u32/u64!
v3: div_u64() == u64/u32, div64_u64() == u64/u64
Reported-by: kbuild test robot <[email protected]>
Fixes: d79651522e89 ("drm/i915: Enable i915 perf stream for Haswell OA unit")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Robert Bragg <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Robert Bragg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions