diff mbox

[-next] x86/e820: fix build when ACPI is disabled

Message ID 20110112122014.2d8455d7.randy.dunlap@oracle.com (mailing list archive)
State New, archived
Headers show

Commit Message

Randy Dunlap Jan. 12, 2011, 8:20 p.m. UTC
None
diff mbox

Patch

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