aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2012-12-04 12:56:44 +0100
committerRussell King <[email protected]>2012-12-07 11:48:57 +0000
commite91b36efe51b5cbbfe5eb61a653cde5985ae8285 (patch)
tree2b003a99db9afedbdeca8c795ca6e06716a5b3d5 /tools/perf/util/trace-event-scripting.c
parent76e0920403d3de1a9ed39cffc3ec9fcb00fa4bc9 (diff)
ARM: 7592/1: nommu: prevent generation of kernel unaligned memory accesses
Recent ARMv7 toolchains assume that unaligned memory accesses will not fault and will instead be handled by the processor. For the nommu case (without an MPU), memory will be treated as strongly-ordered and therefore unaligned accesses may fault regardless of the SCTLR.A setting. This patch passes -mno-unaligned-access to GCC when compiling for nommu targets, preventing the generation of unaligned memory access in the kernel. Acked-by: Nicolas Pitre <[email protected]> Tested-by: Jonathan Austin <[email protected]> Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions