author | Jay Lan
<jlan@sgi.com> 2008-09-22 21:21:19 UTC |
committer | Tony Luck
<tony.luck@intel.com> 2008-09-22 21:21:19 UTC |
parent | 06f95ea8988513b172080c419e4be8826c55a318 |
arch/ia64/kernel/efi.c | +3 | -2 |
diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index d45f215bc8f..51b75cea701 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c @@ -1232,9 +1232,10 @@ efi_initialize_iomem_resources(struct resource *code_resource, 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: