aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Miller <[email protected]>2009-02-18 01:35:23 -0800
committerDave Airlie <[email protected]>2009-03-13 14:24:04 +1000
commit958a6f8ccb1964adc3eec84cf401c5baeb4fbca0 (patch)
tree88dc0089ae4517ac1bb55a39ed15eab10bec5112 /tools/perf/scripts/python
parentf1a2a9b6189f9f5c27672d4d32fec9492c6486b2 (diff)
drm: radeon: Fix unaligned access in r300_scratch().
In compat mode, the cmdbuf->buf 64-bit address cookie can potentially be only 32-bit aligned. Dereferencing this as 64-bit causes expensive unaligned traps on platforms like sparc64. Use get_unaligned() to fix. Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions