From: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
To: Len Brown <lenb@kernel.org>,
linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Subject: [PATCH] x86, realmode: ia64 build fix (drivers/acpi/sleep.c)
Date: Wed, 30 May 2012 09:26:02 +0300 [thread overview]
Message-ID: <1338359162-5785-1-git-send-email-jarkko.sakkinen@intel.com> (raw)
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
next reply other threads:[~2012-05-30 6:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-30 6:26 Jarkko Sakkinen [this message]
2012-05-30 6:47 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1338359162-5785-1-git-send-email-jarkko.sakkinen@intel.com \
--to=jarkko.sakkinen@intel.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul.gortmaker@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®