Browse Source

x86: add acpi_numa_slit_init() dummy implementation on 32-bit

allow CONFIG_ACPI_NUMA builds to succeed on 32-bit.
Ingo Molnar 17 years ago
parent
commit
2772f54bf3
1 changed files with 9 additions and 0 deletions
  1. 9 0
      arch/x86/mm/discontig_32.c

+ 9 - 0
arch/x86/mm/discontig_32.c

@@ -454,3 +454,12 @@ int memory_add_physaddr_to_nid(u64 addr)
 
 EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
 #endif
+
+#ifdef CONFIG_ACPI_NUMA
+/*
+ * Dummy on 32-bit, for now:
+ */
+void __init acpi_numa_slit_init(struct acpi_table_slit *slit)
+{
+}
+#endif