powerpc: move epapr paravirt init of power_save to an initcall
authorStuart Yoder <stuart.yoder@freescale.com>
Wed, 30 Apr 2014 23:34:23 +0000 (18:34 -0500)
committerScott Wood <scottwood@freescale.com>
Thu, 22 May 2014 23:08:21 +0000 (18:08 -0500)
commit83e267d797e0e69d0ac5741f5dc88a2df3ebb3a0
tree5cff53ddfee04e8dc75903aeaf40442a4a8877f3
parent2b09c6038941b8ba6ee9b3851c7be50a9f3acedf
powerpc: move epapr paravirt init of power_save to an initcall

some restructuring of epapr paravirt init resulted in
ppc_md.power_save being set, and then overwritten to
NULL during machine_init.  This patch splits the
initialization of ppc_md.power_save out into a postcore
init call.

Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/epapr_paravirt.c