| To: | linux-cvs-patches@linux-mips.org |
|---|---|
| Subject: | CVS Update@linux-mips.org: linux |
| From: | ralf@linux-mips.org |
| Date: | Wed, 01 Jun 2005 13:18:35 +0100 |
| Reply-to: | linux-mips@linux-mips.org |
| Sender: | linux-cvs-patches-bounce@linux-mips.org |
CVSROOT: /home/cvs
Module name: linux
Changes by: ralf@ftp.linux-mips.org 05/06/01 13:18:30
Modified files:
include/asm-mips: asm.h
Log message:
Fix build with CONFIG_PRINTK disabled.
diff -urN linux/include/asm-mips/asm.h linux/include/asm-mips/asm.h
--- linux/include/asm-mips/asm.h 2004/04/08 15:40:01 1.21
+++ linux/include/asm-mips/asm.h 2005/06/01 12:18:30 1.22
@@ -107,6 +107,7 @@
/*
* Print formatted string
*/
+#ifdef CONFIG_PRINTK
#define PRINT(string) \
.set push; \
.set reorder; \
@@ -114,6 +115,9 @@
jal printk; \
.set pop; \
TEXT(string)
+#else
+#define PRINT(string)
+#endif
#define TEXT(msg) \
.pushsection .data; \
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Next by Date: | CVS Update@linux-mips.org: linux, ralf |
|---|---|
| Next by Thread: | CVS Update@linux-mips.org: linux, ralf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |