summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/mpparse_64.c
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-03-17 22:08:24 +0300
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:05 +0200
commit85e46035bec6f114ad07ce8a9c70388568b1afd4 (patch)
tree0ee972c2f79f4ca3ce7a5a56cba5394d05d934a5 /arch/x86/kernel/mpparse_64.c
parentce3fe6b2bfded4f5d931c5f2f9325dc2e3fd3a74 (diff)
x86: limit scan to 1k of EBDA.
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/mpparse_64.c')
-rw-r--r--arch/x86/kernel/mpparse_64.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/mpparse_64.c b/arch/x86/kernel/mpparse_64.c
index fb74135f9d0..19c82648551 100644
--- a/arch/x86/kernel/mpparse_64.c
+++ b/arch/x86/kernel/mpparse_64.c
@@ -640,11 +640,13 @@ static void __init __find_smp_config(unsigned reserve)
* trustworthy, simply because the SMP table may have been
* stomped on during early boot. These loaders are buggy and
* should be fixed.
+ *
+ * MP1.4 SPEC states to only scan first 1K of 4K EBDA.
*/
address = get_bios_ebda();
if (address)
- smp_scan_config(address, 0x1000, reserve);
+ smp_scan_config(address, 0x400, reserve);
}
void __init early_find_smp_config(void)