patch-2.4.27 linux-2.4.27/arch/ia64/kernel/efi.c

Next file: linux-2.4.27/arch/ia64/kernel/efivars.c
Previous file: linux-2.4.27/arch/ia64/ia32/sys_ia32.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/arch/ia64/kernel/efi.c linux-2.4.27/arch/ia64/kernel/efi.c
@@ -673,8 +673,7 @@
 	for (p = efi_map_start; p < efi_map_end; p += efi_desc_size) {
 		md = p;
 		if (md->type == EFI_MEMORY_MAPPED_IO_PORT_SPACE) {
-			/* paranoia attribute checking */
-			if (md->attribute == (EFI_MEMORY_UC | EFI_MEMORY_RUNTIME))
+			if (md->attribute & EFI_MEMORY_UC)
 				return md->phys_addr;
 		}
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)