summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorTyrel Datwyler <tyreld@linux.vnet.ibm.com>2013-08-15 07:23:52 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-27 06:45:16 +0200
commit5935ff4343a689fbb382d64408bc6955c6589830 (patch)
tree4f56074bb231126945315d94e2ad68b03a1ca1fa /arch/powerpc/kernel
parentpowerpc/pseries: Add mising of_node_put in delete_dt_node (diff)
downloadlinux-5935ff4343a689fbb382d64408bc6955c6589830.tar.xz
linux-5935ff4343a689fbb382d64408bc6955c6589830.zip
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>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions