Searched hist:"5935 ff4343a689fbb382d64408bc6955c6589830" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | dlpar.c | diff 5935ff4343a689fbb382d64408bc6955c6589830 Thu Aug 15 00:23:52 CDT 2013 Tyrel Datwyler <tyreld@linux.vnet.ibm.com> powerpc/pseries: Child nodes are not detached by dlpar_detach_node
Calls to dlpar_detach_node do not iterate over child nodes detaching them as well. By iterating and detaching the child nodes we ensure that they have the OF_DETACHED flag set and that their reference counts are decremented such that the node will be freed from memory by of_node_release.
Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com> Acked-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|