lkml.org 
[lkml]   [2004]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 8/8] replacing/fixing printk with pr_debug/pr_info in include/asm-i386 - smpboot_hooks.h
From
Date
Replace custom macro Dprintk with pr_debug from kernel.h.

Signed-off-by: Daniele Pizzoni <auouo@tin.it>

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.022 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site