x86, numaq: add pci_acpi_scan_root() stub
authorIngo Molnar <mingo@elte.hu>
Tue, 3 Jun 2008 08:16:10 +0000 (10:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 3 Jun 2008 08:24:01 +0000 (10:24 +0200)
allow 32-bit numaq build to succeed with ACPI enabled.

arch/x86/kernel/numaq_32.c

index e65281b1634b790bd151c479fc96f3846febe87d..992f53cb79b6e63ca5c64d66dae428d4217b4882 100644 (file)
@@ -87,3 +87,14 @@ static int __init numaq_tsc_disable(void)
        return 0;
 }
 arch_initcall(numaq_tsc_disable);
+
+#ifdef CONFIG_ACPI
+/*
+ * Dummy implementation:
+ */
+struct pci_bus * __devinit
+pci_acpi_scan_root(struct acpi_device *device, int domain, int busnum)
+{
+       return NULL;
+}
+#endif