]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ia64/kernel/efi.c
[IA64] kexec fails on systems with blocks of uncached memory
[linux-2.6-omap-h63xx.git] / arch / ia64 / kernel / efi.c
index 003cd09b0732cd36f5e244f85909a72fd1ae726a..51b75cea701866629449f7945ddef10079faa7ab 100644 (file)
@@ -436,7 +436,7 @@ static void __init handle_palo(unsigned long palo_phys)
                return;
        }
 
-       setup_ptcg_sem(palo->max_tlb_purges, 1);
+       setup_ptcg_sem(palo->max_tlb_purges, NPTCG_FROM_PALO);
 }
 
 void
@@ -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: