public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86, realmode: ia64 build fix (drivers/acpi/sleep.c)
@ 2012-05-30  6:26 Jarkko Sakkinen
  2012-05-30  6:47 ` H. Peter Anvin
  0 siblings, 1 reply; 2+ messages in thread
From: Jarkko Sakkinen @ 2012-05-30  6:26 UTC (permalink / raw)
  To: Len Brown, linux-acpi, linux-kernel; +Cc: Paul Gortmaker

From: Jarkko Sakkinen <Jarkko Sakkinen jarkko.sakkinen@intel.com>

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

Signed-off-by: Jarkko Sakkinen <Jarkko Sakkinen jarkko.sakkinen@intel.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-30  6:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30  6:26 [PATCH] x86, realmode: ia64 build fix (drivers/acpi/sleep.c) Jarkko Sakkinen
2012-05-30  6:47 ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox