The patch titled
     i386-efi: fix /proc/iomem type for kexec-tools
has been added to the -mm tree.  Its filename is
     i386-efi-fix-proc-iomem-type-for-kexec-tools.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

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

------------------------------------------------------
Subject: i386-efi: fix /proc/iomem type for kexec-tools
From: Thomas Meyer <[EMAIL PROTECTED]>

The kexec-tools check for "System RAM".

Cc: "Eric W. Biederman" <[EMAIL PROTECTED]>
Cc: Andi Kleen <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 arch/i386/kernel/efi.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff -puN arch/i386/kernel/efi.c~i386-efi-fix-proc-iomem-type-for-kexec-tools 
arch/i386/kernel/efi.c
--- a/arch/i386/kernel/efi.c~i386-efi-fix-proc-iomem-type-for-kexec-tools
+++ a/arch/i386/kernel/efi.c
@@ -638,7 +638,12 @@ efi_initialize_iomem_resources(struct re
                        res->name = "Runtime Service Data";
                        break;
                case EFI_CONVENTIONAL_MEMORY:
-                       res->name = "Conventional Memory";
+                       if (md->attribute & EFI_MEMORY_WP) {
+                               res->name = "System ROM";
+                               res->flags |= IORESOURCE_READONLY;
+                       } else {
+                               res->name = "System RAM";
+                       }
                        break;
                case EFI_UNUSABLE_MEMORY:
                        res->name = "Unusable Memory";
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

i386-efi-fix-proc-iomem-type-for-kexec-tools.patch

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

Reply via email to