]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/srat.h
x86: move reserve_setup_data to setup.c
[linux-2.6-omap-h63xx.git] / include / asm-x86 / srat.h
index 165ab4bdc02b67769db67bce188f1ae33dfe4cbc..456fe0b5a92162245d3b63ba8a497f762aae474a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Some of the code in this file has been gleaned from the 64 bit 
+ * Some of the code in this file has been gleaned from the 64 bit
  * discontigmem support code base.
  *
  * Copyright (C) 2002, IBM Corp.
 #ifndef _ASM_SRAT_H_
 #define _ASM_SRAT_H_
 
-#ifndef CONFIG_ACPI_SRAT
-#error CONFIG_ACPI_SRAT not defined, and srat.h header has been included
-#endif
-
+#ifdef CONFIG_ACPI_SRAT
 extern int get_memcfg_from_srat(void);
-extern unsigned long *get_zholes_size(int);
+#else
+static inline int get_memcfg_from_srat(void)
+{
+       return 0;
+}
+#endif
 
 #endif /* _ASM_SRAT_H_ */