提交 85e46035 编写于 作者: A Alexey Starikovskiy 提交者: Ingo Molnar

x86: limit scan to 1k of EBDA.

Signed-off-by: NAlexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 ce3fe6b2
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册