Skip to content

Commit

Permalink
x86, numaq: add pci_acpi_scan_root() stub
Browse files Browse the repository at this point in the history
allow 32-bit numaq build to succeed with ACPI enabled.
  • Loading branch information
Ingo Molnar committed Jun 3, 2008
1 parent b28852d commit f329469
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arch/x86/kernel/numaq_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f329469

Please sign in to comment.