diff options
Diffstat (limited to 'include/asm-mips/asm.h')
-rw-r--r-- | include/asm-mips/asm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-mips/asm.h b/include/asm-mips/asm.h index f53237772985..4b090f3142e0 100644 --- a/include/asm-mips/asm.h +++ b/include/asm-mips/asm.h | |||
@@ -107,6 +107,7 @@ symbol = value | |||
107 | /* | 107 | /* |
108 | * Print formatted string | 108 | * Print formatted string |
109 | */ | 109 | */ |
110 | #ifdef CONFIG_PRINTK | ||
110 | #define PRINT(string) \ | 111 | #define PRINT(string) \ |
111 | .set push; \ | 112 | .set push; \ |
112 | .set reorder; \ | 113 | .set reorder; \ |
@@ -114,6 +115,9 @@ symbol = value | |||
114 | jal printk; \ | 115 | jal printk; \ |
115 | .set pop; \ | 116 | .set pop; \ |
116 | TEXT(string) | 117 | TEXT(string) |
118 | #else | ||
119 | #define PRINT(string) | ||
120 | #endif | ||
117 | 121 | ||
118 | #define TEXT(msg) \ | 122 | #define TEXT(msg) \ |
119 | .pushsection .data; \ | 123 | .pushsection .data; \ |