PCI: pciehp: Handle interrupts that happen during initialization.
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 29 Jan 2009 03:31:18 +0000 (19:31 -0800)
committerJesse Barnes <jbarnes@hobbes.lan>
Tue, 24 Feb 2009 17:36:56 +0000 (09:36 -0800)
commitdbc7e1e567ef8cfc4b792ef6acb51d4ceb15746a
treed1035d012fbd9857888f463e6f418714420e72dd
parent1dec6b054dd1fc780e18b815068bf5677409eb2d
PCI: pciehp: Handle interrupts that happen during initialization.

Move the enabling of interrupts after all of the data structures
are setup so that we can safely run the interrupt handler as
soon as it is registered.

Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tested-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Jesse Barnes <jbarnes@hobbes.lan>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_core.c
drivers/pci/hotplug/pciehp_hpc.c