OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e50c0a8
)
Fix build with CONFIG_PRINTK disabled.
author
Ralf Baechle
<ralf@linux-mips.org>
Wed, 1 Jun 2005 12:18:30 +0000
(12:18 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:18 +0000
(19:31 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/asm.h
patch
|
blob
|
history
diff --git
a/include/asm-mips/asm.h
b/include/asm-mips/asm.h
index
f532377
..
4b090f3
100644
(file)
--- a/
include/asm-mips/asm.h
+++ b/
include/asm-mips/asm.h
@@
-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; \