diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 21:52:57 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 21:52:57 +0200 |
commit | ef5ddd3d591399f2c722a77bce543d20bef31663 (patch) | |
tree | a6bec12fcf1e7533cb8a972fc1b465923e46585c /arch | |
parent | qeth: properly delete empty files. (diff) | |
parent | x86, setup: guard against pre-ACPI 3 e820 code not updating %ecx (diff) | |
download | linux-ef5ddd3d591399f2c722a77bce543d20bef31663.tar.xz linux-ef5ddd3d591399f2c722a77bce543d20bef31663.zip |
Merge branch 'x86-setup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-setup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
x86, setup: guard against pre-ACPI 3 e820 code not updating %ecx
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/boot/memory.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/boot/memory.c b/arch/x86/boot/memory.c index d5d2360763dc..5054c2ddd1a0 100644 --- a/arch/x86/boot/memory.c +++ b/arch/x86/boot/memory.c @@ -31,6 +31,12 @@ static int detect_memory_e820(void) struct e820entry *desc = boot_params.e820_map; static struct e820_ext_entry buf; /* static so it is zeroed */ + /* + * Set this here so that if the BIOS doesn't change this field + * but still doesn't change %ecx, we're still okay... + */ + buf.ext_flags = 1; + do { size = sizeof buf; |