diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:08 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:08 -0500 |
commit | e91a3b4353577c7d38b77dd1293fc3d0a173e8e6 (patch) | |
tree | dc9102835a48f9930188a73ab3160aa27d73718f /arch/x86/kernel/mpparse_32.c | |
parent | aafbd7eb2057edfc9a17b258e3f0258a4e6d8198 (diff) |
x86: smp_scan_config() debugging printouts
These are useful in figuring out early-mapping problems.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/mpparse_32.c')
-rw-r--r-- | arch/x86/kernel/mpparse_32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c index a4c05372626b..cc06eae1b037 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) | |||
721 | unsigned long *bp = phys_to_virt(base); | 721 | unsigned long *bp = phys_to_virt(base); |
722 | struct intel_mp_floating *mpf; | 722 | struct intel_mp_floating *mpf; |
723 | 723 | ||
724 | Dprintk("Scan SMP from %p for %ld bytes.\n", bp,length); | 724 | printk(KERN_INFO "Scan SMP from %p for %ld bytes.\n", bp,length); |
725 | if (sizeof(*mpf) != 16) | 725 | if (sizeof(*mpf) != 16) |
726 | printk("Error: MPF size\n"); | 726 | printk("Error: MPF size\n"); |
727 | 727 | ||
@@ -734,8 +734,8 @@ static int __init smp_scan_config (unsigned long base, unsigned long length) | |||
734 | || (mpf->mpf_specification == 4)) ) { | 734 | || (mpf->mpf_specification == 4)) ) { |
735 | 735 | ||
736 | smp_found_config = 1; | 736 | smp_found_config = 1; |
737 | printk(KERN_INFO "found SMP MP-table at %08lx\n", | 737 | printk(KERN_INFO "found SMP MP-table at [%p] %08lx\n", |
738 | virt_to_phys(mpf)); | 738 | mpf, virt_to_phys(mpf)); |
739 | reserve_bootmem(virt_to_phys(mpf), PAGE_SIZE); | 739 | reserve_bootmem(virt_to_phys(mpf), PAGE_SIZE); |
740 | if (mpf->mpf_physptr) { | 740 | if (mpf->mpf_physptr) { |
741 | /* | 741 | /* |