From: Satoru Takeuchi Date: Tue, 12 Sep 2006 17:13:44 +0000 (-0700) Subject: acpiphp: initialize ioapics before starting devices X-Git-Tag: MMI-PSA29.97-13-9~47371^2~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b99feebe597f7b8c566048e11dbbd2d6df9abc83;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: MUNEDA Takahiro Signed-off-by: Satoru Takeuchi Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman --- 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) pci_bus_assign_resources(bus); acpiphp_sanitize_bus(bus); acpiphp_set_hpp_values(slot->bridge->handle, bus); + acpiphp_configure_ioapics(slot->bridge->handle); pci_enable_bridges(bus); pci_bus_add_devices(bus); - acpiphp_configure_ioapics(slot->bridge->handle); /* associate pci_dev to our representation */ list_for_each (l, &slot->funcs) {