* acpi patch in 2.4.6
@ 2001-07-18 19:23 Arjan van de Ven
2001-07-18 21:25 ` Linus Torvalds
0 siblings, 1 reply; 2+ messages in thread
From: Arjan van de Ven @ 2001-07-18 19:23 UTC (permalink / raw)
To: linux-kernel; +Cc: torvalds
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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: acpi patch in 2.4.6
2001-07-18 19:23 acpi patch in 2.4.6 Arjan van de Ven
@ 2001-07-18 21:25 ` Linus Torvalds
0 siblings, 0 replies; 2+ messages in thread
From: Linus Torvalds @ 2001-07-18 21:25 UTC (permalink / raw)
To: Arjan van de Ven; +Cc: linux-kernel
On Wed, 18 Jul 2001, Arjan van de Ven wrote:
>
> How is the following chunk taken from patch-2.4.6 ever going to work ?
Because ACPI physical addresses are _physical_ memory addresses, and we
have a 1:1 mapping for most of them (notably the BIOS extended areas).
Linus
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-18 21:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-18 19:23 acpi patch in 2.4.6 Arjan van de Ven
2001-07-18 21:25 ` Linus Torvalds
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.