[PATCH]IA64: assign a distinguishable label to uncached memory in /proc/iomem

Bernhard Walle bwalle at suse.de
Fri Sep 12 03:58:58 EDT 2008


* Bernhard Walle <bwalle at suse.de> [2008-09-12]: 

> Isn't that too much indent, i.e. shouldn't that be

Of course

--- a/arch/ia64/kernel/efi.c
+++ b/arch/ia64/kernel/efi.c
@@ -1232,9 +1232,10 @@ efi_initialize_iomem_resources(struct re
                                if (md->attribute & EFI_MEMORY_WP) {
                                        name = "System ROM";
                                        flags |= IORESOURCE_READONLY;
-                               } else {
+                               } else if (md->attribute == EFI_MEMORY_UC)
+                                       name = "Uncached RAM";
+                               else
                                        name = "System RAM";
-                               }
                                break;
 
                        case EFI_ACPI_MEMORY_NVS:


My mailer decided to wrap the pasted text (which is my fault).


Bernhard



More information about the kexec mailing list