diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-16 10:37:22 -0600 | 
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-16 10:37:22 -0600 | 
| commit | a3b6bbd5774c13dab89d72f79976ba762913b2f2 (patch) | |
| tree | e646832db42284e97e6b4d1edc616ce06e0fd407 /arch/x86/pci/common.c | |
| parent | 30e22b2337be44f4363fa52858d1ca7be6794ee8 (diff) | |
| parent | c309dbb4debb714566e4cf0d5d4e4023c3c4ff2f (diff) | |
| download | olio-linux-3.10-a3b6bbd5774c13dab89d72f79976ba762913b2f2.tar.xz olio-linux-3.10-a3b6bbd5774c13dab89d72f79976ba762913b2f2.zip  | |
Merge branch 'pci/jiang-subdrivers' into next
* pci/jiang-subdrivers:
  PCI/ACPI: Remove support of ACPI PCI subdrivers
  PCI: acpiphp: Protect acpiphp data structures from concurrent updates
  PCI: acpiphp: Use normal list to simplify implementation
  PCI: acpiphp: Do not use ACPI PCI subdriver mechanism
  PCI: acpiphp: Convert acpiphp to be builtin only, not modular
  PCI/ACPI: Handle PCI slot devices when creating/destroying PCI buses
  x86/PCI: Implement pcibios_{add|remove}_bus() hooks
  ia64/PCI: Implement pcibios_{add|remove}_bus() hooks
  PCI/ACPI: Prepare stub functions to handle ACPI PCI (hotplug) slots
  PCI: Add pcibios hooks for adding and removing PCI buses
  PCI: acpiphp: Replace local macros with standard ACPI macros
  PCI: acpiphp: Remove all functions even if function 0 doesn't exist
  PCI: acpiphp: Use list_for_each_entry_safe() in acpiphp_sanitize_bus()
  PCI: Clean up usages of pci_bus->is_added
  PCI: When removing bus, always remove legacy files & unregister
Diffstat (limited to 'arch/x86/pci/common.c')
| -rw-r--r-- | arch/x86/pci/common.c | 11 | 
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c index 901177d75ff..305c68b8d53 100644 --- a/arch/x86/pci/common.c +++ b/arch/x86/pci/common.c @@ -6,6 +6,7 @@  #include <linux/sched.h>  #include <linux/pci.h> +#include <linux/pci-acpi.h>  #include <linux/ioport.h>  #include <linux/init.h>  #include <linux/dmi.h> @@ -170,6 +171,16 @@ void pcibios_fixup_bus(struct pci_bus *b)  		pcibios_fixup_device_resources(dev);  } +void pcibios_add_bus(struct pci_bus *bus) +{ +	acpi_pci_add_bus(bus); +} + +void pcibios_remove_bus(struct pci_bus *bus) +{ +	acpi_pci_remove_bus(bus); +} +  /*   * Only use DMI information to set this if nothing was passed   * on the kernel command line (which was parsed earlier).  |