]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 9 May 2014 20:49:31 +0000 (15:49 -0500)
commit7762b1ed7aaee223230793fcee80672e2e3aa7a8
treefb5cffd537b69a888da4497979fd5b9f3084bf98
parentea255c6edf6a0ee51c289a7c96851609576aa6a6
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