]> git.baikalelectronics.ru Git - kernel.git/commit
x86, setup: guard against pre-ACPI 3 e820 code not updating %ecx
authorH. Peter Anvin <hpa@zytor.com>
Wed, 1 Apr 2009 18:35:00 +0000 (11:35 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 1 Apr 2009 18:35:00 +0000 (11:35 -0700)
commit273ff27b9863c0dabed8851597f4e58e914374d8
treee7aa26873f746baa1bd49cd92d3e7ab97c1716af
parent8b7e5c33a7266eb84db0648a63760c5acc839f85
x86, setup: guard against pre-ACPI 3 e820 code not updating %ecx

Impact: BIOS bug safety

For pre-ACPI 3 BIOSes, pre-initialize the end of the e820 buffer just
in case the BIOS returns an unchanged %ecx but without actually
touching the ACPI 3 extended flags field.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/boot/memory.c