bfin: remove inline keyword
[xenomai-head.git] / include / asm-sh / fptest.h
blob99547be6b83aeda1e529aeb5d424cdf1f15df571
1 #ifndef _XENO_ASM_SH_FPTEST_H
2 #define _XENO_ASM_SH_FPTEST_H
4 #ifdef __KERNEL__
5 #include <linux/module.h>
7 static inline int fp_kernel_supported(void)
9 return 0;
12 static inline int fp_linux_begin(void)
14 return -ENOSYS;
17 static inline void fp_linux_end(void)
21 #else /* !__KERNEL__ */
22 #include <stdio.h>
23 #define printk printf
24 #endif /* !__KERNEL__ */
26 static inline void fp_features_init(void)
30 static inline void fp_regs_set(unsigned val)
34 static inline unsigned fp_regs_check(unsigned val)
36 return val;
39 #endif /* _XENO_ASM_SH_FPTEST_H */