[PATCH] clean up kernel messages
[safe/jmp/linux-2.6] / arch / i386 / kernel / head.S
index d273fd7..e966fc8 100644 (file)
@@ -380,6 +380,7 @@ rp_sidt:
        ALIGN
 ignore_int:
        cld
+#ifdef CONFIG_PRINTK
        pushl %eax
        pushl %ecx
        pushl %edx
@@ -400,6 +401,7 @@ ignore_int:
        popl %edx
        popl %ecx
        popl %eax
+#endif
        iret
 
 /*