Commit e91a3b43 authored by Ingo Molnar's avatar Ingo Molnar

x86: smp_scan_config() debugging printouts

These are useful in figuring out early-mapping problems.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent aafbd7eb
...@@ -721,7 +721,7 @@ static int __init smp_scan_config (unsigned long base, unsigned long length) ...@@ -721,7 +721,7 @@ static int __init smp_scan_config (unsigned long base, unsigned long length)
unsigned long *bp = phys_to_virt(base); unsigned long *bp = phys_to_virt(base);
struct intel_mp_floating *mpf; 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) if (sizeof(*mpf) != 16)
printk("Error: MPF size\n"); printk("Error: MPF size\n");
...@@ -734,8 +734,8 @@ static int __init smp_scan_config (unsigned long base, unsigned long length) ...@@ -734,8 +734,8 @@ static int __init smp_scan_config (unsigned long base, unsigned long length)
|| (mpf->mpf_specification == 4)) ) { || (mpf->mpf_specification == 4)) ) {
smp_found_config = 1; smp_found_config = 1;
printk(KERN_INFO "found SMP MP-table at %08lx\n", printk(KERN_INFO "found SMP MP-table at [%p] %08lx\n",
virt_to_phys(mpf)); mpf, virt_to_phys(mpf));
reserve_bootmem(virt_to_phys(mpf), PAGE_SIZE); reserve_bootmem(virt_to_phys(mpf), PAGE_SIZE);
if (mpf->mpf_physptr) { if (mpf->mpf_physptr) {
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment