Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+6
+6
arch/x86/boot/memory.c
··· 31 31 struct e820entry *desc = boot_params.e820_map; 32 32 static struct e820_ext_entry buf; /* static so it is zeroed */ 33 33 34 + /* 35 + * Set this here so that if the BIOS doesn't change this field 36 + * but still doesn't change %ecx, we're still okay... 37 + */ 38 + buf.ext_flags = 1; 39 + 34 40 do { 35 41 size = sizeof buf; 36 42