[PATCH] Make ACPI compile again on 64bit/gcc 3.3

From: Andi Kleen (ak@suse.de)
Date: Sat May 24 2003 - 03:49:40 EST



Without this patch ACPI in BK-CVS current does not compile on AMD64/gcc 3.3.

-Andi


Index: linux/include/acpi/acpiosxf.h
===================================================================
RCS file: /home/cvs/linux-2.5/include/acpi/acpiosxf.h,v
retrieving revision 1.7
diff -u -u -r1.7 acpiosxf.h
--- linux/include/acpi/acpiosxf.h 24 May 2003 01:49:28 -0000 1.7
+++ linux/include/acpi/acpiosxf.h 24 May 2003 07:32:37 -0000
@@ -287,15 +287,15 @@
* Miscellaneous
*/

-u8
+BOOLEAN
acpi_os_readable (
void *pointer,
- acpi_size length);
+ u32 length);

-u8
+BOOLEAN
acpi_os_writable (
void *pointer,
- acpi_size length);
+ u32 length);

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