From: Ingo Molnar Date: Wed, 30 Jan 2008 12:33:08 +0000 (+0100) Subject: x86: smp_scan_config() debugging printouts X-Git-Tag: v2.6.25-rc1~1143^2~308 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e91a3b4353577c7d38b77dd1293fc3d0a173e8e6;p=linux-2.6-omap-h63xx.git x86: smp_scan_config() debugging printouts These are useful in figuring out early-mapping problems. Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c index a4c05372626..cc06eae1b03 100644 --- a/arch/x86/kernel/mpparse_32.c +++ b/arch/x86/kernel/mpparse_32.c @@ -721,7 +721,7 @@ static int __init smp_scan_config (unsigned long base, unsigned long length) unsigned long *bp = phys_to_virt(base); struct intel_mp_floating *mpf; - Dprintk("Scan SMP from %p for %ld bytes.\n", bp,length); + printk(KERN_INFO "Scan SMP from %p for %ld bytes.\n", bp,length); if (sizeof(*mpf) != 16) printk("Error: MPF size\n"); @@ -734,8 +734,8 @@ static int __init smp_scan_config (unsigned long base, unsigned long length) || (mpf->mpf_specification == 4)) ) { smp_found_config = 1; - printk(KERN_INFO "found SMP MP-table at %08lx\n", - virt_to_phys(mpf)); + printk(KERN_INFO "found SMP MP-table at [%p] %08lx\n", + mpf, virt_to_phys(mpf)); reserve_bootmem(virt_to_phys(mpf), PAGE_SIZE); if (mpf->mpf_physptr) { /*