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)
commitcd670599b7b00d9263f6f11a05c0edeb9cbedaf3
treee7aa26873f746baa1bd49cd92d3e7ab97c1716af
parentc549e71d073a6e9a4847497344db28a784061455
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