mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
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>
This commit is contained in:
parent
9355e59c33
commit
56a22d21bf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user