aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2014-01-23 14:41:09 -0500
committerTomi Valkeinen <[email protected]>2014-02-11 15:01:04 +0200
commitc29dd8696dc5dbd50b3ac441b8a26751277ba520 (patch)
tree36e7c97bda98cff02557b602572b076b89931994 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
parentbf26e6d2fed45da619ae0ef675a09b794db6e449 (diff)
mach64: use unaligned access
This patch fixes mach64 to use unaligned access to the font bitmap. This fixes unaligned access warning on sparc64 when 14x8 font is loaded. On x86(64), unaligned access is handled in hardware, so both functions le32_to_cpup and get_unaligned_le32 perform the same operation. On RISC machines, unaligned access is not handled in hardware, so we better use get_unaligned_le32 to avoid the unaligned trap and warning. Signed-off-by: Mikulas Patocka <[email protected]> Cc: [email protected] Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions