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

From: Gerd Knorr (kraxel@suse.de)
Date: Tue Jun 24 2003 - 10:52:00 EST


  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. */
-
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/



This archive was generated by hypermail 2b29 : Mon Jun 30 2003 - 22:00:16 EST