Messages in this thread |  | | From | "Grover, Andrew" <> | | Subject | RE: [Acpi] [PATCH] linux-2.4.1-pre9/include/linux/acpi.h broke ac pid compilation | | Date | Mon, 22 Jan 2001 09:51:18 -0800 |
| |
acpi_get_rsdp_ptr is no longer used, so you can just remove its declaration. I'm putting together another patch not so I'll include this fix.
Thanks -- Regards -- Andy
> -----Original Message----- > From: Adam J. Richter [mailto:adam@yggdrasil.com] > Sent: Sunday, January 21, 2001 12:23 AM > To: acpi@phobos.fachschaften.tu-muenchen.de; > linux-kernel@vger.kernel.org > Cc: torvalds@transmeta.com > Subject: [Acpi] [PATCH] linux-2.4.1-pre9/include/linux/acpi.h broke > acpid compilation > > > linux-2.4.1-pre9/include/linux/acpi.h contains declares the > routine acpi_get_rsdp_ptr returning the kernel-only type > "u64", without > bracketing the declaration in "#ifdef __KERNEL__...#endif". > Consequently, > a user level program that attempts to include <linux/acpi.h>, such as > acpid, gets a compilation error. The following patch fix the problem > by stretching an earlier "#ifdef __KERNEL__...#endif" area to cover > the acpi_get_rsdp_ptr declaration.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |