+ fix-boot-on-efi-32-bit-machines.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     Fix boot on efi 32 bit Machines [try #4]

has been added to the -mm tree.  Its filename is

     fix-boot-on-efi-32-bit-machines.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Fix boot on efi 32 bit Machines [try #4]
From: Edgar Hucek <hostmaster@xxxxxxxxxx>


Fix EFI boot on 32 bit machines with PCI Express slots.  Efi machines does
not have an e820 memory map.  Without this patch a native EFI boot, on
Intel Macs, is impossible.

Signed-off-by: Edgar Hucek <hostmaster@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/i386/kernel/setup.c |    4 ++++
 1 file changed, 4 insertions(+)

diff -puN arch/i386/kernel/setup.c~fix-boot-on-efi-32-bit-machines arch/i386/kernel/setup.c
--- a/arch/i386/kernel/setup.c~fix-boot-on-efi-32-bit-machines
+++ a/arch/i386/kernel/setup.c
@@ -968,6 +968,10 @@ e820_all_mapped(unsigned long s, unsigne
 	u64 start = s;
 	u64 end = e;
 	int i;
+
+	if (efi_enabled)	/* EFI machines don't have e820 maps */
+		return 1;
+
 	for (i = 0; i < e820.nr_map; i++) {
 		struct e820entry *ei = &e820.map[i];
 		if (type && ei->type != type)
_

Patches currently in -mm which might be from hostmaster@xxxxxxxxxx are

imacfb-add-intel-based-macintosh-framebuffer-support.patch
fix-boot-on-efi-32-bit-machines.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux