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
- Lines: 10
- Date:
2004-08-07 16:26:04.569343285 -0700
- Orig file:
linux-2.4.26/arch/ia64/kernel/efi.c
- Orig date:
2004-02-18 05:36:30.000000000 -0800
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)