提交 ee61d78b 编写于 作者: D duhuanpeng 提交者: Du Huanpeng

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: Nduhuanpeng <548708880@qq.com>
上级 08ef2363
......@@ -18,7 +18,7 @@
* init hardware 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 c1_status = 0;
......@@ -38,7 +38,7 @@ inline void rt_hw_fpu_init(void)
return ;
}
#else
inline void rt_hw_fpu_init(void){} /* Do nothing */
rt_inline void rt_hw_fpu_init(void){} /* Do nothing */
#endif
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册