Alex Smith 656ff9bef0 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 <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: Ralf Baechle <ralf@linux-mips.org>
2014-07-30 23:27:03 +02:00
..
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2014-07-30 21:47:00 +02:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2014-05-24 00:07:01 +02:00
2014-05-24 00:07:01 +02:00
2014-05-24 00:07:01 +02:00
2011-12-07 22:03:45 +00:00
2014-05-24 00:07:01 +02:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2012-12-13 16:46:47 +01:00
2014-05-30 21:01:09 +02:00
2014-05-24 00:07:01 +02:00
2014-05-24 00:07:01 +02:00
2013-02-01 10:00:22 +01:00
2014-05-02 16:39:10 +01:00
2014-05-24 00:07:01 +02:00
2014-05-30 21:01:09 +02:00
2013-02-01 10:00:22 +01:00
2014-05-24 00:07:01 +02:00
2014-01-22 20:19:02 +01:00
2014-07-30 21:46:41 +02:00
2014-07-30 21:46:41 +02:00
2014-07-30 21:46:41 +02:00
2014-07-30 21:46:41 +02:00
2014-07-30 21:46:19 +02:00
2014-05-24 00:07:01 +02:00
2014-05-24 00:07:01 +02:00
2012-03-23 16:58:42 -07:00
2014-05-24 00:07:01 +02:00