diff options
author | 2016-04-21 12:43:57 +0100 | |
---|---|---|
committer | 2016-05-13 15:30:25 +0200 | |
commit | bd239f1e1429e7781096bf3884bdb1b2b1bb4f28 (patch) | |
tree | 7c64a5c0f6cbc0fa4cc778971481b7ae5121cfe5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | MIPS: Allow emulation for unaligned [LS]DXC1 instructions (diff) | |
download | linux-dev-bd239f1e1429e7781096bf3884bdb1b2b1bb4f28.tar.xz linux-dev-bd239f1e1429e7781096bf3884bdb1b2b1bb4f28.zip |
MIPS: Disable preemption during prctl(PR_SET_FP_MODE, ...)
Whilst a PR_SET_FP_MODE prctl is performed there are decisions made
based upon whether the task is executing on the current CPU. This may
change if we're preempted, so disable preemption to avoid such changes
for the lifetime of the mode switch.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Fixes: 9791554b45a2 ("MIPS,prctl: add PR_[GS]ET_FP_MODE prctl options for MIPS")
Reviewed-by: Maciej W. Rozycki <macro@imgtec.com>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Cc: Adam Buchbinder <adam.buchbinder@gmail.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: stable <stable@vger.kernel.org> # v4.0+
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13144/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions