Commit ac130ac4 authored by Ralf Baechle's avatar Ralf Baechle

Fix build with CONFIG_PRINTK disabled.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment