提交 b99feebe 编写于 作者: S Satoru Takeuchi 提交者: Greg Kroah-Hartman

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: NKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: NMUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com>
Signed-off-by: NSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: NKristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 287af2fb
...@@ -1075,9 +1075,9 @@ static int enable_device(struct acpiphp_slot *slot) ...@@ -1075,9 +1075,9 @@ static int enable_device(struct acpiphp_slot *slot)
pci_bus_assign_resources(bus); pci_bus_assign_resources(bus);
acpiphp_sanitize_bus(bus); acpiphp_sanitize_bus(bus);
acpiphp_set_hpp_values(slot->bridge->handle, bus); acpiphp_set_hpp_values(slot->bridge->handle, bus);
acpiphp_configure_ioapics(slot->bridge->handle);
pci_enable_bridges(bus); pci_enable_bridges(bus);
pci_bus_add_devices(bus); pci_bus_add_devices(bus);
acpiphp_configure_ioapics(slot->bridge->handle);
/* associate pci_dev to our representation */ /* associate pci_dev to our representation */
list_for_each (l, &slot->funcs) { list_for_each (l, &slot->funcs) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册