aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_32.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-22 02:02:39 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-22 02:02:39 -0400
commit35499c0195e46f479cf6ac16ad8d3f394b5fcc10 (patch)
tree25660acd2425de5236a1eff7a25dc931e6f86492 /arch/powerpc/kernel/setup_32.c
parentb6ba92819dc1304a4e5a0bf06b297c657b58168a (diff)
powerpc: Merge in 64-bit powermac support.
This brings in a lot of changes from arch/ppc64/kernel/pmac_*.c to arch/powerpc/platforms/powermac/*.c and makes various minor tweaks elsewhere. On the powermac we now initialize ppc_md by copying the whole pmac_md structure into it, which required some changes in the ordering of initializations of individual fields of it. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
-rw-r--r--arch/powerpc/kernel/setup_32.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c
index b9269c038af3..2d7fdeb581d1 100644
--- a/arch/powerpc/kernel/setup_32.c
+++ b/arch/powerpc/kernel/setup_32.c
@@ -464,14 +464,11 @@ void __init machine_init(unsigned long dt_ptr, unsigned long phys)
464 strlcpy(cmd_line, CONFIG_CMDLINE, sizeof(cmd_line)); 464 strlcpy(cmd_line, CONFIG_CMDLINE, sizeof(cmd_line));
465#endif /* CONFIG_CMDLINE */ 465#endif /* CONFIG_CMDLINE */
466 466
467 platform_init();
468
467#ifdef CONFIG_6xx 469#ifdef CONFIG_6xx
468 ppc_md.power_save = ppc6xx_idle; 470 ppc_md.power_save = ppc6xx_idle;
469#endif 471#endif
470#ifdef CONFIG_POWER4
471 ppc_md.power_save = power4_idle;
472#endif
473
474 platform_init();
475 472
476 if (ppc_md.progress) 473 if (ppc_md.progress)
477 ppc_md.progress("id mach(): done", 0x200); 474 ppc_md.progress("id mach(): done", 0x200);