diff options
author | Huacai Chen <chenhc@lemote.com> | 2014-08-11 09:10:38 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-08-19 16:04:24 (GMT) |
commit | bfcdf1306361951b104c6858d07f6778b53e4368 (patch) | |
tree | 9752e9f37fe001dd624b082a651e8a0bf0c2e25d /lib/earlycpio.c | |
parent | bbbf6d8768f5cac3523c408917083a111b1f3ffe (diff) | |
download | linux-bfcdf1306361951b104c6858d07f6778b53e4368.tar.xz |
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 'lib/earlycpio.c')
0 files changed, 0 insertions, 0 deletions