acpi patch in 2.4.6

Arjan van de Ven (arjanv@redhat.com)
Wed, 18 Jul 2001 15:23:33 -0400


Hi,

How is the following chunk taken from patch-2.4.6 ever going to work ?

diff -u --recursive --new-file v2.4.5/linux/drivers/acpi/os.c
linux/drivers/acpi/os.c
--- v2.4.5/linux/drivers/acpi/os.c Mon Jan 22 13:23:43 2001
+++ linux/drivers/acpi/os.c Sun Jun 24 20:53:07 2001
@@ -248,27 +293,27 @@
void
acpi_os_mem_out8 (ACPI_PHYSICAL_ADDRESS phys_addr, UINT8 value)
{
- *(u8*) (u32) phys_addr = value;
+ *(u8*) phys_to_virt(phys_addr) = value;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/