diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-07-21 21:35:38 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-07-21 21:35:38 +0200 |
commit | cfc1b9a6a683c835a20d5b565ade55baf639f72f (patch) | |
tree | d9eb8b4a76185e6913ec542020f387a368132f9b /include/asm-x86 | |
parent | Merge branch 'x86/paravirt-spinlocks' into x86/for-linus (diff) | |
download | linux-cfc1b9a6a683c835a20d5b565ade55baf639f72f.tar.xz linux-cfc1b9a6a683c835a20d5b565ade55baf639f72f.zip |
x86: convert Dprintk to pr_debug
There are a couple of places where (P)Dprintk is used which is an old
compile time enabled printk wrapper. Convert it to the generic
pr_debug().
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/apic.h | 2 | ||||
-rw-r--r-- | include/asm-x86/mach-default/smpboot_hooks.h | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/include/asm-x86/apic.h b/include/asm-x86/apic.h index b96460a7190d..133c998161ca 100644 --- a/include/asm-x86/apic.h +++ b/include/asm-x86/apic.h @@ -12,8 +12,6 @@ #define ARCH_APICTIMER_STOPS_ON_C3 1 -#define Dprintk printk - /* * Debugging macros */ diff --git a/include/asm-x86/mach-default/smpboot_hooks.h b/include/asm-x86/mach-default/smpboot_hooks.h index 56d001b9dce4..dbab36d64d48 100644 --- a/include/asm-x86/mach-default/smpboot_hooks.h +++ b/include/asm-x86/mach-default/smpboot_hooks.h @@ -12,11 +12,11 @@ static inline void smpboot_setup_warm_reset_vector(unsigned long start_eip) { 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) |