From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
"Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
Jiri Slaby <jslaby@suse.cz>,
lenb@kernel.org, linux-acpi@vger.kernel.org
Subject: [PATCH -next] x86/e820: fix build when ACPI is disabled
Date: Wed, 12 Jan 2011 12:20:14 -0800 [thread overview]
Message-ID: <20110112122014.2d8455d7.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20110112141822.c29314c4.sfr@canb.auug.org.au>
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix build error when CONFIG_ACPI is not enabled:
arch/x86/kernel/e820.c:734: error:implicit declaration of function 'suspend_nvs_register'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
include/linux/acpi.h | 5 +++++
1 file changed, 5 insertions(+)
--- linux-next-20110112.orig/include/linux/acpi.h
+++ linux-next-20110112/include/linux/acpi.h
@@ -360,5 +360,10 @@ static inline int acpi_table_parse(char
{
return -1;
}
+
+static inline int suspend_nvs_register(unsigned long a, unsigned long b)
+{
+ return 0;
+}
#endif /* !CONFIG_ACPI */
#endif /*_LINUX_ACPI_H*/
next parent reply other threads:[~2011-01-12 20:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20110112141822.c29314c4.sfr@canb.auug.org.au>
2011-01-12 20:20 ` Randy Dunlap [this message]
2011-01-12 20:35 ` [PATCH -next] x86/e820: fix build when ACPI is disabled Rafael J. Wysocki
2011-01-12 20:49 ` Randy Dunlap
2011-01-12 21:03 ` [PATCH] ACPI / PM: Fix build problems for !CONFIG_ACPI related to NVS rework Rafael J. Wysocki
2011-01-12 21:12 ` Len Brown
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=20110112122014.2d8455d7.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=jslaby@suse.cz \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=sfr@canb.auug.org.au \
/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