From: Ralf Baechle Date: Wed, 1 Jun 2005 12:18:30 +0000 (+0000) Subject: Fix build with CONFIG_PRINTK disabled. X-Git-Tag: v2.6.15-rc1~731^2~1^2~201 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac130ac494522cf71782117b8dd4b6b57e31e5ea;p=linux-2.6 Fix build with CONFIG_PRINTK disabled. Signed-off-by: Ralf Baechle --- diff --git a/include/asm-mips/asm.h b/include/asm-mips/asm.h index f532377729..4b090f3142 100644 --- 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; \