[PATCH 8/8] replacing/fixing printk with pr_debug/pr_info ininclude/asm-i386 - smpboot_hooks.h

From: Daniele Pizzoni
Date: Sun Oct 17 2004 - 11:22:10 EST


Replace custom macro Dprintk with pr_debug from kernel.h.

Signed-off-by: Daniele Pizzoni <auouo@xxxxxx>

Index: linux-2.6.9-rc4/include/asm-i386/mach-default/smpboot_hooks.h
===================================================================
--- linux-2.6.9-rc4.orig/include/asm-i386/mach-default/smpboot_hooks.h 2004-08-14 07:36:44.000000000 +0200
+++ linux-2.6.9-rc4/include/asm-i386/mach-default/smpboot_hooks.h 2004-10-17 17:01:24.044525072 +0200
@@ -10,11 +10,11 @@ static inline void smpboot_setup_warm_re
{
CMOS_WRITE(0xa, 0xf);
local_flush_tlb();
- Dprintk("1.\n");
+ pr_debug("1.\n");
*((volatile unsigned short *) TRAMPOLINE_HIGH) = start_eip >> 4;
- Dprintk("2.\n");
+ pr_debug("2.\n");
*((volatile unsigned short *) TRAMPOLINE_LOW) = start_eip & 0xf;
- Dprintk("3.\n");
+ pr_debug("3.\n");
}

static inline void smpboot_restore_warm_reset_vector(void)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/