summaryrefslogtreecommitdiffstats
path: root/arch/arm64/configs
diff options
context:
space:
mode:
authorMarc Zyngier <Marc.Zyngier@arm.com>2013-11-04 20:14:58 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2013-11-05 09:33:57 +0000
commit717321fcb58ed95169bf344ae47ac6098ba5dfbe (patch)
tree288bb7a9d4e71c7161139cfad3181afc3d9d90b7 /arch/arm64/configs
parent7ade67b5984d0a0434462fda733ab5138c63aae1 (diff)
arm64: fix access to preempt_count from assembly code
preempt_count is defined as an int. Oddly enough, we access it as a 64bit value. Things become interesting when running a BE kernel, and looking at the current CPU number, which is stored as an int next to preempt_count. Like in a per-cpu interrupt handler, for example... Using a 32bit access fixes the issue for good. Cc: Matthew Leach <matthew.leach@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/configs')
0 files changed, 0 insertions, 0 deletions