]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Move property cloning into its own routine
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Mon, 20 Jun 2016 14:00:39 +0000 (09:00 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 15 Jul 2016 05:02:26 +0000 (15:02 +1000)
commit248cf8ccdd678d229a640d47bc90f33c375cb9c8
tree4957f58f3ad1030c677ba625f6a92504d6ae96fe
parent70cbf814773dc6be65a83f0980aabdaa88ef8959
powerpc/pseries: Move property cloning into its own routine

Move property cloning code into its own routine

Split the pieces of dlpar_clone_drconf_property() that create a copy of
the property struct into its own routine. This allows for creating
clones of more than just the ibm,dynamic-memory property used in memory
hotplug.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/hotplug-memory.c