aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug
diff options
context:
space:
mode:
authorSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>2006-09-12 13:13:44 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-26 20:43:54 -0400
commitb99feebe597f7b8c566048e11dbbd2d6df9abc83 (patch)
tree17020088ca4649664c7e020b85096e347502123d /drivers/pci/hotplug
parent287af2fbe902206fabd42ade4e94f77db900083e (diff)
acpiphp: initialize ioapics before starting devices
Currently acpiphp initializes ioapics after starting devices, but ioapics should be initialized before starting devices. This patch fixes this bug. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: MUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com> Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug')
-rw-r--r--drivers/pci/hotplug/acpiphp_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c
index 768d0f0f450a..7cc782fec70a 100644
--- a/drivers/pci/hotplug/acpiphp_glue.c
+++ b/drivers/pci/hotplug/acpiphp_glue.c
@@ -1075,9 +1075,9 @@ static int enable_device(struct acpiphp_slot *slot)
1075 pci_bus_assign_resources(bus); 1075 pci_bus_assign_resources(bus);
1076 acpiphp_sanitize_bus(bus); 1076 acpiphp_sanitize_bus(bus);
1077 acpiphp_set_hpp_values(slot->bridge->handle, bus); 1077 acpiphp_set_hpp_values(slot->bridge->handle, bus);
1078 acpiphp_configure_ioapics(slot->bridge->handle);
1078 pci_enable_bridges(bus); 1079 pci_enable_bridges(bus);
1079 pci_bus_add_devices(bus); 1080 pci_bus_add_devices(bus);
1080 acpiphp_configure_ioapics(slot->bridge->handle);
1081 1081
1082 /* associate pci_dev to our representation */ 1082 /* associate pci_dev to our representation */
1083 list_for_each (l, &slot->funcs) { 1083 list_for_each (l, &slot->funcs) {