diff options
author | Olof Johansson <olof@lixom.net> | 2007-09-04 22:09:45 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-09-13 11:33:22 -0400 |
commit | 3850169dbddcc9e53fd550eb093af7da5dfcefa9 (patch) | |
tree | 006b679ddb52704f1a3a945513bd9316733962af /arch/powerpc/platforms/pasemi/setup.c | |
parent | cd7834167ffb66b470e4d9edb10efb5c1a2dfe7f (diff) |
[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>
Diffstat (limited to 'arch/powerpc/platforms/pasemi/setup.c')
-rw-r--r-- | arch/powerpc/platforms/pasemi/setup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pasemi/setup.c b/arch/powerpc/platforms/pasemi/setup.c index fe9a5d631431..5ddf40a66ae8 100644 --- a/arch/powerpc/platforms/pasemi/setup.c +++ b/arch/powerpc/platforms/pasemi/setup.c | |||
@@ -115,8 +115,6 @@ void __init pas_setup_arch(void) | |||
115 | /* Remap SDC register for doing reset */ | 115 | /* Remap SDC register for doing reset */ |
116 | /* XXXOJN This should maybe come out of the device tree */ | 116 | /* XXXOJN This should maybe come out of the device tree */ |
117 | reset_reg = ioremap(0xfc101100, 4); | 117 | reset_reg = ioremap(0xfc101100, 4); |
118 | |||
119 | pasemi_idle_init(); | ||
120 | } | 118 | } |
121 | 119 | ||
122 | static int __init pas_setup_mce_regs(void) | 120 | static int __init pas_setup_mce_regs(void) |