diff options
author | Huacai Chen <[email protected]> | 2014-08-11 17:10:38 +0800 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2014-08-26 02:18:55 +0200 |
commit | 7ff1740fa48c277628181a047177e0a53f09f682 (patch) | |
tree | 9d4681122f3c1546b3beb3ff08e8148cadfb272e /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 4a2083f004210b526137e05677623344ad154556 (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/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions