diff options
author | Paul Burton <paul.burton@imgtec.com> | 2013-11-07 07:48:30 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-01-13 17:40:56 -0500 |
commit | 56a22d21bf9744315f56b2bbd6416170f27b7765 (patch) | |
tree | c08ea2f31501fdb04d6021997a031702bfdddc89 /arch | |
parent | 9355e59c332858f0e52c62659bb41a7c2bca0a1b (diff) |
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')
-rw-r--r-- | arch/mips/include/asm/fpu.h | 13 |
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 { \ | |||
45 | disable_fpu_hazard(); \ | 45 | disable_fpu_hazard(); \ |
46 | } while (0) | 46 | } while (0) |
47 | 47 | ||
48 | #define enable_fpu() \ | ||
49 | do { \ | ||
50 | if (cpu_has_fpu) \ | ||
51 | __enable_fpu(); \ | ||
52 | } while (0) | ||
53 | |||
54 | #define disable_fpu() \ | ||
55 | do { \ | ||
56 | if (cpu_has_fpu) \ | ||
57 | __disable_fpu(); \ | ||
58 | } while (0) | ||
59 | |||
60 | |||
61 | #define clear_fpu_owner() clear_thread_flag(TIF_USEDFPU) | 48 | #define clear_fpu_owner() clear_thread_flag(TIF_USEDFPU) |
62 | 49 | ||
63 | static inline int __is_fpu_owner(void) | 50 | static inline int __is_fpu_owner(void) |