diff options
author | Alex Smith <[email protected]> | 2014-07-23 14:40:06 +0100 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2014-07-30 23:27:03 +0200 |
commit | 656ff9bef08c19a6471b49528dacb4cbbeb1e537 (patch) | |
tree | 0c2072970ccd0bbe36a7a80f135deae6ae6cd12a /tools/perf/scripts/python/futex-contention.py | |
parent | 6ee1d93455384cef8a0426effe85da241b525b63 (diff) |
MIPS: ptrace: Avoid smp_processor_id() when retrieving FPU IR
Whenever ptrace attempts to retrieve the FPU implementation register it
accesses it through current_cpu_data, which calls smp_processor_id().
Since the code may execute with preemption enabled, this can trigger
a warning. Fix this by using boot_cpu_data to get the IR instead.
Signed-off-by: Alex Smith <[email protected]>
Cc: <[email protected]> # v3.15+
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/7449/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions