From: Tyrel Datwyler Date: Thu, 15 Aug 2013 05:23:52 +0000 (-0700) Subject: powerpc/pseries: Child nodes are not detached by dlpar_detach_node X-Git-Tag: v3.12-rc1~123^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5935ff4343a689fbb382d64408bc6955c6589830;p=pandora-kernel.git 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 Acked-by: Nathan Fontenot Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed