powerpc+of: Add /proc device tree updating to of node add/remove
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Tue, 2 Oct 2012 16:55:01 +0000 (16:55 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Nov 2012 22:43:54 +0000 (09:43 +1100)
commite81b3295bc54eb0d03f4cdfc8cbf72e731d1b402
tree562c84116ff9b969512347a6ffd326fdfe3a9592
parent83dac59409387789b88bed40b1be86a8abc572be
powerpc+of: Add /proc device tree updating to of node add/remove

When adding or removing a device tree node we should also update
the device tree in /proc/device-tree. This action is already done in the
generic OF code for adding/removing properties of a node. This patch adds
this functionality for nodes.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/dlpar.c
arch/powerpc/platforms/pseries/reconfig.c
drivers/of/base.c