summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorHuacai Chen <chenhc@lemote.com>2014-08-11 17:10:38 +0800
committerRalf Baechle <ralf@linux-mips.org>2014-08-26 02:18:55 +0200
commit7ff1740fa48c277628181a047177e0a53f09f682 (patch)
tree9d4681122f3c1546b3beb3ff08e8148cadfb272e /arch/mips/kernel
parent4a2083f004210b526137e05677623344ad154556 (diff)
downloadop-kernel-dev-7ff1740fa48c277628181a047177e0a53f09f682.zip
op-kernel-dev-7ff1740fa48c277628181a047177e0a53f09f682.tar.gz
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 <chenhc@lemote.com> Cc: John Crispin <john@phrozen.org> Cc: Steven J. Hill <Steven.Hill@imgtec.com> Cc: Aurelien Jarno <aurelien@aurel32.net> Cc: linux-mips@linux-mips.org Cc: Fuxin Zhang <zhangfx@lemote.com> Cc: Zhangjin Wu <wuzhangjin@gmail.com> Patchwork: https://patchwork.linux-mips.org/patch/7515/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud