acpi.h patchlet

From: David Mosberger <davidm_at_napali.hpl.hp.com>
Date: 2005-06-07 06:43:03
I'm not sure why this issue is suddenly showing, but without this
patchlet, the zx1 config won't compile anymore (e.g., to see the
compilation-error, look for "***" in [1]).

Please include this patch for 2.6.12.

Thanks,

	--david

[1] http://www.gelato.unsw.edu.au/kerncomp/results//2005-06-06-17-00/zx1_defconfig-log.html

--
Include <linux/config.h> before testing CONFIG_ACPI.

Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com>

diff --git a/include/linux/acpi.h b/include/linux/acpi.h
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -25,6 +25,8 @@
 #ifndef _LINUX_ACPI_H
 #define _LINUX_ACPI_H
 
+#include <linux/config.h>
+
 #ifdef	CONFIG_ACPI
 
 #ifndef _LINUX
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jun 6 16:46:00 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:39 EST