x86: add acpi_numa_slit_init() dummy implementation on 32-bit
authorIngo Molnar <mingo@elte.hu>
Tue, 3 Jun 2008 08:09:45 +0000 (10:09 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 3 Jun 2008 08:23:48 +0000 (10:23 +0200)
allow CONFIG_ACPI_NUMA builds to succeed on 32-bit.

arch/x86/mm/discontig_32.c

index 435c343c14bcf147a8ccfd14cbb5907128f27478..d28987a2f2bbf68fcb11c82d1f82fa1d5ec60bdc 100644 (file)
@@ -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