linux/arch/mips/loongson/loongson-3
Huacai Chen bfcdf13063 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>
2014-08-19 18:04:24 +02:00
..
cop2-ex.c MIPS: Loongson: Fix COP2 usage for preemptible kernel 2014-08-19 18:04:24 +02:00
irq.c MIPS: Add Loongson-3B support 2014-07-30 21:47:00 +02:00
Makefile MIPS: Loongson-3: Enable the COP2 usage 2014-07-30 21:47:17 +02:00
numa.c MIPS: Remove duplicated include from numa.c 2014-08-19 13:30:46 +02:00
smp.c MIPS: Add Loongson-3B support 2014-07-30 21:47:00 +02:00
smp.h MIPS: Add Loongson-3B support 2014-07-30 21:47:00 +02:00