MIPS: inline routine should be static here
gcc will remove this "unused" routine and cause a linking error. symbol not found when linking. Signed-off-by: duhuanpeng <548708880@qq.com>
This commit is contained in:
parent
08ef236308
commit
ee61d78b18
|
@ -18,7 +18,7 @@
|
||||||
* init hardware FPU
|
* init hardware FPU
|
||||||
*/
|
*/
|
||||||
#ifdef RT_USING_FPU
|
#ifdef RT_USING_FPU
|
||||||
inline void rt_hw_fpu_init(void)
|
rt_inline void rt_hw_fpu_init(void)
|
||||||
{
|
{
|
||||||
rt_uint32_t c0_status = 0;
|
rt_uint32_t c0_status = 0;
|
||||||
rt_uint32_t c1_status = 0;
|
rt_uint32_t c1_status = 0;
|
||||||
|
@ -38,7 +38,7 @@ inline void rt_hw_fpu_init(void)
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
inline void rt_hw_fpu_init(void){} /* Do nothing */
|
rt_inline void rt_hw_fpu_init(void){} /* Do nothing */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue