Re: [x86_64 PATCH 2/2] build fix -- show_stack

Gerd Knorr
2003-06-24T15:34:18Z

Hi,

acpi build fix needed for x86_64 -- make the functions match the
prototypes in include/acpi/

Gerd

--- o-linux-2.5.73/drivers/acpi/osl.c.acpi 2003-06-24 12:24:16.000000000 +0200
+++ o-linux-2.5.73/drivers/acpi/osl.c 2003-06-24 12:24:56.000000000 +0200
@@ -933,8 +933,8 @@
}

/* Assumes no unreadable holes inbetween */
-BOOLEAN
-acpi_os_readable(void *ptr, u32 len)
+u8
+acpi_os_readable(void *ptr, acpi_size len)
{
#if defined(__i386__) || defined(__x86_64__)
char tmp;
@@ -943,8 +943,8 @@
return 1;
}

-BOOLEAN
-acpi_os_writable(void *ptr, u32 len)
+u8
+acpi_os_writable(void *ptr, acpi_size len)
{
/* could do dummy write (racy) or a kernel page table lookup.
The later may be difficult at early boot when kmap doesn't work yet. */