aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/asm.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-06-01 08:18:30 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:31:18 -0400
commitac130ac494522cf71782117b8dd4b6b57e31e5ea (patch)
treed0118012514a51c192203e7b639bb3aa17635d3e /include/asm-mips/asm.h
parente50c0a8fa60da9ac0e0a70caa8a3a803815c1f2f (diff)
Fix build with CONFIG_PRINTK disabled.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/asm.h')
-rw-r--r--include/asm-mips/asm.h4
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; \