git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
972dd43
)
Merge branch 'x86-setup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
author
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 1 Apr 2009 19:52:57 +0000
(12:52 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 1 Apr 2009 19:52:57 +0000
(12:52 -0700)
* '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
arch/x86/boot/memory.c
patch
|
blob
|
history
diff --git
a/arch/x86/boot/memory.c
b/arch/x86/boot/memory.c
index
d5d2360
..
5054c2d
100644
(file)
--- 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;