Commit 096c4aaf authored by Dave Jones's avatar Dave Jones

[PATCH] MP1.4 SPEC compliance.

parent 4d2ff67e
...@@ -817,11 +817,13 @@ void __init find_intel_smp (void) ...@@ -817,11 +817,13 @@ void __init find_intel_smp (void)
* trustworthy, simply because the SMP table may have been * trustworthy, simply because the SMP table may have been
* stomped on during early boot. These loaders are buggy and * stomped on during early boot. These loaders are buggy and
* should be fixed. * should be fixed.
*
* MP1.4 SPEC states to only scan first 1K of 4K EBDA.
*/ */
address = *(unsigned short *)phys_to_virt(0x40E); address = *(unsigned short *)phys_to_virt(0x40E);
address <<= 4; address <<= 4;
smp_scan_config(address, 0x1000); smp_scan_config(address, 0x400);
if (smp_found_config) if (smp_found_config)
printk(KERN_WARNING "WARNING: MP table in the EBDA can be UNSAFE, contact linux-smp@vger.kernel.org if you experience SMP problems!\n"); printk(KERN_WARNING "WARNING: MP table in the EBDA can be UNSAFE, contact linux-smp@vger.kernel.org if you experience SMP problems!\n");
} }
......
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