]> err.no Git - linux-2.6/commit
[POWERPC] pasemi: Move pasemi_idle_init() to late_initcall()
authorOlof Johansson <olof@lixom.net>
Wed, 5 Sep 2007 02:09:45 +0000 (12:09 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 13 Sep 2007 15:33:22 +0000 (01:33 +1000)
commit3850169dbddcc9e53fd550eb093af7da5dfcefa9
tree006b679ddb52704f1a3a945513bd9316733962af
parentcd7834167ffb66b470e4d9edb10efb5c1a2dfe7f
[POWERPC] pasemi: Move pasemi_idle_init() to late_initcall()

Move pasemi_idle_init() to be a late_initcall instead of being called from
setup_arch().  This way the cpufreq driver has a chance to initialize and
save away the boot time astate before we go to idle for the first time.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pasemi/idle.c
arch/powerpc/platforms/pasemi/pasemi.h
arch/powerpc/platforms/pasemi/setup.c