From 22a1f2157a56c516473712b60774c28ade7a5353 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 1 Jun 2005 12:18:30 +0000 Subject: [PATCH] --- yaml --- r: 11093 b: refs/heads/master c: ac130ac494522cf71782117b8dd4b6b57e31e5ea h: refs/heads/master i: 11091: 758653239430e62ca59eddfc4438264046cb0674 v: v3 --- [refs] | 2 +- trunk/include/asm-mips/asm.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 8ce38443c588..901c4b4cb3e2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e50c0a8fa60da9ac0e0a70caa8a3a803815c1f2f +refs/heads/master: ac130ac494522cf71782117b8dd4b6b57e31e5ea diff --git a/trunk/include/asm-mips/asm.h b/trunk/include/asm-mips/asm.h index f53237772985..4b090f3142e0 100644 --- a/trunk/include/asm-mips/asm.h +++ b/trunk/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; \