[PATCH] x86, realmode: ia64 build fix (drivers/acpi/sleep.c)

From: Jarkko Sakkinen
Date: Wed May 30 2012 - 02:26:01 EST


From: Jarkko Sakkinen <Jarkko Sakkinen jarkko.sakkinen@xxxxxxxxx>

Added CONFIG_ACPI_SLEEP caging for #include <asm/realmode.h>.

Signed-off-by: Jarkko Sakkinen <Jarkko Sakkinen jarkko.sakkinen@xxxxxxxxx>
---
drivers/acpi/sleep.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index a82fbf6..5b99f64 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -25,7 +25,9 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>

+#ifdef CONFIG_ACPI_SLEEP
#include <asm/realmode.h>
+#endif

#include "internal.h"
#include "sleep.h"
--
1.7.9.5

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