* [PATCH 1/1] Fix boot on efi 32 bit Machines [try #3]
@ 2006-06-25 1:18 Edgar Hucek
0 siblings, 0 replies; only message in thread
From: Edgar Hucek @ 2006-06-25 1:18 UTC (permalink / raw)
To: LKML
Fix EFI boot on 32 bit machines with pcie port.
Efi machines does not have an e820 memory map.
This bug makes native efi boots on Intel Mac's
impossible.
[try #3] simplified the patch.
Signed-off-by: Edgar Hucek <hostmaster@ed-soft.at>
--- a/arch/i386/kernel/setup.c 2006-06-25 03:13:24.000000000 +0200
+++ b/arch/i386/kernel/setup.c 2006-06-25 03:13:50.000000000 +0200
@@ -975,6 +975,10 @@
u64 start = s;
u64 end = e;
int i;
+
+ if (efi_enabled)
+ return 1;
+
for (i = 0; i < e820.nr_map; i++) {
struct e820entry *ei = &e820.map[i];
if (type && ei->type != type)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-25 1:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-25 1:18 [PATCH 1/1] Fix boot on efi 32 bit Machines [try #3] Edgar Hucek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox