aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorPaul Burton <[email protected]>2016-04-21 12:43:57 +0100
committerRalf Baechle <[email protected]>2016-05-13 15:30:25 +0200
commitbd239f1e1429e7781096bf3884bdb1b2b1bb4f28 (patch)
tree7c64a5c0f6cbc0fa4cc778971481b7ae5121cfe5 /lib/string_helpers.c
parente70ac023f9515c70cf2b291a294f0f250df29847 (diff)
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 <[email protected]> Fixes: 9791554b45a2 ("MIPS,prctl: add PR_[GS]ET_FP_MODE prctl options for MIPS") Reviewed-by: Maciej W. Rozycki <[email protected]> Tested-by: Aurelien Jarno <[email protected]> Cc: Adam Buchbinder <[email protected]> Cc: James Hogan <[email protected]> Cc: stable <[email protected]> # v4.0+ Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/13144/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions