[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110112122014.2d8455d7.randy.dunlap@oracle.com>
Date: Wed, 12 Jan 2011 12:20:14 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
"Rafael J. Wysocki" <rjw@...k.pl>
Cc: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Jiri Slaby <jslaby@...e.cz>, lenb@...nel.org,
linux-acpi@...r.kernel.org
Subject: [PATCH -next] x86/e820: fix build when ACPI is disabled
From: Randy Dunlap <randy.dunlap@...cle.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@...cle.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*/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists