aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2015-07-20 15:14:53 +0100
committerCatalin Marinas <[email protected]>2015-07-22 10:56:41 +0100
commitc0d3fce5e192c6b45a9d8e06aecfcec546f73884 (patch)
treec74ade93b7c2359bb34acfa704abc7f92d014852 /tools/perf/scripts/python/futex-contention.py
parent52721d9d3334c1cb1f76219a161084094ec634dc (diff)
arm64: switch_to: calculate cpu context pointer using separate register
Commit 0c8c0f03e3a2 ("x86/fpu, sched: Dynamically allocate 'struct fpu'") moved the thread_struct to the bottom of task_struct. As a result, the offset is now too large to be used in an immediate add on arm64 with some kernel configs: arch/arm64/kernel/entry.S: Assembler messages: arch/arm64/kernel/entry.S:588: Error: immediate out of range arch/arm64/kernel/entry.S:597: Error: immediate out of range This patch calculates the offset using an additional register instead of an immediate offset. Fixes: 0c8c0f03e3a2 ("x86/fpu, sched: Dynamically allocate 'struct fpu'") Cc: Dave Hansen <[email protected]> Cc: Olof Johansson <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Will Deacon <[email protected]> Tested-by: Guenter Roeck <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions