summaryrefslogtreecommitdiffstats
path: root/fs
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-19 18:04:24 +0200
commitbfcdf1306361951b104c6858d07f6778b53e4368 (patch)
tree9752e9f37fe001dd624b082a651e8a0bf0c2e25d /fs
parentbbbf6d8768f5cac3523c408917083a111b1f3ffe (diff)
downloadlinux-bfcdf1306361951b104c6858d07f6778b53e4368.tar.bz2
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 'fs')
0 files changed, 0 insertions, 0 deletions