patch-2.4.15 linux/drivers/acpi/os.c
Next file: linux/drivers/acpi/ospm/processor/pr_osl.c
Previous file: linux/drivers/Makefile
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Fri Nov 9 13:39:25 2001
- Orig file:
v2.4.14/linux/drivers/acpi/os.c
- Orig date:
Mon Nov 5 15:55:28 2001
diff -u --recursive --new-file v2.4.14/linux/drivers/acpi/os.c linux/drivers/acpi/os.c
@@ -189,11 +189,6 @@
return AE_ERROR;
}
- if ((unsigned long) phys < virt_to_phys(high_memory)) {
- *virt = phys_to_virt((unsigned long) phys);
- return AE_OK;
- }
-
*virt = ioremap((unsigned long) phys, size);
if (!*virt)
return AE_ERROR;
@@ -204,8 +199,7 @@
void
acpi_os_unmap_memory(void *virt, u32 size)
{
- if (virt >= high_memory)
- iounmap(virt);
+ iounmap(virt);
}
acpi_status
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)