diff options
author | 2013-07-18 17:20:32 +0100 | |
---|---|---|
committer | 2013-07-22 14:30:34 +0100 | |
commit | b60d5db690f72a7cfe5e39f191f0719a9ef3a096 (patch) | |
tree | 68460ed3afbca3ce216ff97636e9e91e0c3bc524 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ARM: 7785/1: mm: restrict early_alloc to section-aligned memory (diff) | |
download | linux-dev-b60d5db690f72a7cfe5e39f191f0719a9ef3a096.tar.xz linux-dev-b60d5db690f72a7cfe5e39f191f0719a9ef3a096.zip |
ARM: 7786/1: hyp: fix macro parameterisation
Currently, compare_cpu_mode_with_primary uses a mixture of macro
arguments and hardcoded registers, and does so incorrectly, as it
stores (__boot_cpu_mode_offset | BOOT_CPU_MODE_MISMATCH) to
(__boot_cpu_mode + &__boot_cpu_mode_offset), which could corrupt an
arbitrary portion of memory.
This patch fixes up compare_cpu_mode_with_primary to use the macro
arguments, correctly updating __boot_cpu_mode.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Christoffer Dall <cdall@cs.columbia.edu>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions