]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ppc64: bugfix: crash on PHB add
authorLinas Vepstas <linas@linas.org>
Fri, 4 Nov 2005 00:51:17 +0000 (18:51 -0600)
committerPaul Mackerras <paulus@samba.org>
Thu, 10 Nov 2005 05:02:35 +0000 (16:02 +1100)
commite340595b93c96cccc0b1dd2ee590394f21410e67
treea0a66f8a8de8115d7310c4e9821f04194173987b
parent3d673619d1004610f2f83c1bcaab5c3178b77625
[PATCH] ppc64: bugfix: crash on PHB add

19-rpaphp-crashing.patch

This patch fixes a bug related to dlpar PHB add, after a PHB removal.

-- The crash was due to the PHB not having a pci_dn structure yet,
   when the phb is being added.

This code survived testing, of adding and removeig the PHB and all slots
underneath it, 17 times so far, as of this writing.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/pci/hotplug/rpadlpar_core.c