* Jay Lan <jlan@xxxxxxx> [2008-09-11]: > - } else { > - name = "System RAM"; > - } > + } else if (md->attribute == EFI_MEMORY_UC) > + name = "Uncached RAM"; > + else > + name = "System RAM"; ^^^^^^^^ Isn't that too much indent, i.e. shouldn't that be --- 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; Bernhard -- To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |