Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / include / asm-mips / asm.h
index f532377..4b090f3 100644 (file)
@@ -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;                     \