summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/fpu.h
diff options
context:
space:
mode:
authorPaul Burton2013-11-07 13:48:30 +0100
committerRalf Baechle2014-01-13 23:40:56 +0100
commit56a22d21bf9744315f56b2bbd6416170f27b7765 (patch)
treec08ea2f31501fdb04d6021997a031702bfdddc89 /arch/mips/include/asm/fpu.h
parentMIPS: microMIPS: mfhc1 & mthc1 support for the FPU emulator (diff)
downloadkernel-qcow2-linux-56a22d21bf9744315f56b2bbd6416170f27b7765.tar.gz
kernel-qcow2-linux-56a22d21bf9744315f56b2bbd6416170f27b7765.tar.xz
kernel-qcow2-linux-56a22d21bf9744315f56b2bbd6416170f27b7765.zip
MIPS: Remove unused {en,dis}able_fpu macros
These macros are not used anywhere in the kernel. Remove them. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6111/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/fpu.h')
-rw-r--r--arch/mips/include/asm/fpu.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/mips/include/asm/fpu.h b/arch/mips/include/asm/fpu.h
index d088e5db4903..3bf023fde482 100644
--- a/arch/mips/include/asm/fpu.h
+++ b/arch/mips/include/asm/fpu.h
@@ -45,19 +45,6 @@ do { \
disable_fpu_hazard(); \
} while (0)
-#define enable_fpu() \
-do { \
- if (cpu_has_fpu) \
- __enable_fpu(); \
-} while (0)
-
-#define disable_fpu() \
-do { \
- if (cpu_has_fpu) \
- __disable_fpu(); \
-} while (0)
-
-
#define clear_fpu_owner() clear_thread_flag(TIF_USEDFPU)
static inline int __is_fpu_owner(void)