]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ppc64: Fix add notifier crashes
authorJohn Rose <johnrose@austin.ibm.com>
Wed, 2 Nov 2005 16:29:55 +0000 (10:29 -0600)
committerPaul Mackerras <paulus@samba.org>
Thu, 3 Nov 2005 05:53:49 +0000 (16:53 +1100)
commit8902e87f1fc72740a40686a31ca07e6c2cf1f0f2
tree17d6fa17cbf41c5eda3d79696e77f9a69fa0b51a
parentf4fcbbe9a7fdf11305fea657202b954bdc2228ec
[PATCH] ppc64: Fix add notifier crashes

The extraction of PCI stuff from struct device_node left some false
assumptions in notifier code.  As a result, dynamic add crashes when
non-PCI nodes are added.  This patch fixes these assumptions.

Signed-off-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/iommu.c
arch/ppc64/kernel/pci_dn.c