diff options
author | Huacai Chen <[email protected]> | 2014-08-11 17:10:38 +0800 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2014-08-19 18:04:24 +0200 |
commit | bfcdf1306361951b104c6858d07f6778b53e4368 (patch) | |
tree | 9752e9f37fe001dd624b082a651e8a0bf0c2e25d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bbbf6d8768f5cac3523c408917083a111b1f3ffe (diff) |
MIPS: Loongson: Fix COP2 usage for preemptible kernel
In preemptible kernel, only TIF_USEDFPU flag is reliable to distinguish
whether _init_fpu()/_restore_fp() is needed. Because the value of the
CP0_Status.CU1 isn't changed during preemption.
V2: Fix coding style.
Signed-off-by: Huacai Chen <[email protected]>
Cc: John Crispin <[email protected]>
Cc: Steven J. Hill <[email protected]>
Cc: Aurelien Jarno <[email protected]>
Cc: [email protected]
Cc: Fuxin Zhang <[email protected]>
Cc: Zhangjin Wu <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/7515/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions