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)
commitc2101c9039fe2a005f7b4138e028ed9a8468a48a
tree4957f58f3ad1030c677ba625f6a92504d6ae96fe
parent236977609a81150c4561c33fa62b5c1f37f2b234
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