From fb62af45a2481bd975edd38907ad9d809a9fa827 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Tue, 30 Sep 2008 15:19:30 +0000 Subject: [PATCH] Use B_ANY_KERNEL_ADDRESS instead of B_ANY_KERNEL_BLOCK_ADDRESS, like suggested by Axel and Marcus git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27794 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/bus_managers/acpi/oshaiku.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/add-ons/kernel/bus_managers/acpi/oshaiku.c b/src/add-ons/kernel/bus_managers/acpi/oshaiku.c index c6aa12686d..dbdf6e5b1d 100644 --- a/src/add-ons/kernel/bus_managers/acpi/oshaiku.c +++ b/src/add-ons/kernel/bus_managers/acpi/oshaiku.c @@ -123,7 +123,6 @@ #include #include #include -#include #include #include @@ -510,7 +509,7 @@ AcpiOsMapMemory ( void *there; area = map_physical_memory("acpi_physical_mem_area", map_base, - ROUNDUP(length + page_offset,B_PAGE_SIZE),B_ANY_KERNEL_BLOCK_ADDRESS,0,&there); + ROUNDUP(length + page_offset,B_PAGE_SIZE),B_ANY_KERNEL_ADDRESS,0,&there); if (area < 0) { dprintf("ACPI: cannot map memory at %p, length %ld\n", map_base, length); return NULL;