Re: [PATCH] linux-2.4.1-pre9/include/linux/acpi.h broke acpid compilation

John Fremlin (vii@altern.org)
21 Jan 2001 16:05:20 +0000


"Adam J. Richter" <adam@yggdrasil.com> writes:

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

I sent a similar patch to the maintainer andy_henroid@yahoo.com on
December 29 but have received no response so far.

-- 

http://www.penguinpowered.com/~vii - 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/