]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ppc64: Fix PCI hotplug
authorAnton Blanchard <anton@samba.org>
Tue, 11 Oct 2005 15:29:00 +0000 (08:29 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Oct 2005 16:46:53 +0000 (09:46 -0700)
commit50e7738a420945be9709ecd1e8bfc5e9e42d517d
treeecec8fb728b2f872f970a7d666aa0147654e809f
parent8174a992ff744b5d25e1d78aedae9be9339075fa
[PATCH] ppc64: Fix PCI hotplug

pSeries_irq_bus_setup is marked __devinit but references s7a_workaround
which is marked __initdata.

Depending on who got the memory for s7a_workaround (and if the value was
now positive), it was possible for PCI hotplugged devices to have 3
subtracted from their interrupt number.  This would happen randomly and
caused me much confusion :)

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/pSeries_pci.c