提交 ac130ac4 编写于 作者: R Ralf Baechle

Fix build with CONFIG_PRINTK disabled.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 e50c0a8f
......@@ -107,6 +107,7 @@ symbol = value
/*
* Print formatted string
*/
#ifdef CONFIG_PRINTK
#define PRINT(string) \
.set push; \
.set reorder; \
......@@ -114,6 +115,9 @@ symbol = value
jal printk; \
.set pop; \
TEXT(string)
#else
#define PRINT(string)
#endif
#define TEXT(msg) \
.pushsection .data; \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册