An error occurred while fetching folder content.
MIPS: ptrace: Avoid smp_processor_id() when retrieving FPU IR
Alex Smith authored

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: default avatarAlex Smith <alex@alex-smith.me.uk>
Cc: <stable@vger.kernel.org> # v3.15+
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7449/

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
656ff9be
Name Last commit Last update