diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-06-03 04:16:10 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-03 04:24:01 -0400 |
commit | f3294690979634ee10398bb0beadfe1d4edb881d (patch) | |
tree | 006dbc4a887b4bd12c58c4f8c7e7afb2e246ba34 | |
parent | b28852d6703e4b72ce363c5168ea8d3fb28b9c57 (diff) |
x86, numaq: add pci_acpi_scan_root() stub
allow 32-bit numaq build to succeed with ACPI enabled.
-rw-r--r-- | arch/x86/kernel/numaq_32.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/kernel/numaq_32.c b/arch/x86/kernel/numaq_32.c index e65281b1634b..992f53cb79b6 100644 --- a/arch/x86/kernel/numaq_32.c +++ b/arch/x86/kernel/numaq_32.c | |||
@@ -87,3 +87,14 @@ static int __init numaq_tsc_disable(void) | |||
87 | return 0; | 87 | return 0; |
88 | } | 88 | } |
89 | arch_initcall(numaq_tsc_disable); | 89 | arch_initcall(numaq_tsc_disable); |
90 | |||
91 | #ifdef CONFIG_ACPI | ||
92 | /* | ||
93 | * Dummy implementation: | ||
94 | */ | ||
95 | struct pci_bus * __devinit | ||
96 | pci_acpi_scan_root(struct acpi_device *device, int domain, int busnum) | ||
97 | { | ||
98 | return NULL; | ||
99 | } | ||
100 | #endif | ||