aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_64.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-12-03 23:59:07 -0500
committerPaul Mackerras <paulus@samba.org>2006-12-03 23:59:07 -0500
commit79acbb3ff2d8095b692e1502b9eb2ccec348de26 (patch)
tree6ab773e5a8f9de2cd6443362b21d0d6fffe3b35e /arch/powerpc/kernel/setup_64.c
parent19a79859e168640f8e16d7b216d211c1c52b687a (diff)
parent2b5f6dcce5bf94b9b119e9ed8d537098ec61c3d2 (diff)
Merge branch 'linux-2.6' into for-linus
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r--arch/powerpc/kernel/setup_64.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index 2fef772edfc1..b0f1c82df994 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -169,6 +169,9 @@ void __init setup_paca(int cpu)
169 169
170void __init early_setup(unsigned long dt_ptr) 170void __init early_setup(unsigned long dt_ptr)
171{ 171{
172 /* Identify CPU type */
173 identify_cpu(0);
174
172 /* Assume we're on cpu 0 for now. Don't write to the paca yet! */ 175 /* Assume we're on cpu 0 for now. Don't write to the paca yet! */
173 setup_paca(0); 176 setup_paca(0);
174 177
@@ -347,6 +350,14 @@ void __init setup_system(void)
347{ 350{
348 DBG(" -> setup_system()\n"); 351 DBG(" -> setup_system()\n");
349 352
353 /* Apply the CPUs-specific and firmware specific fixups to kernel
354 * text (nop out sections not relevant to this CPU or this firmware)
355 */
356 do_feature_fixups(cur_cpu_spec->cpu_features,
357 &__start___ftr_fixup, &__stop___ftr_fixup);
358 do_feature_fixups(powerpc_firmware_features,
359 &__start___fw_ftr_fixup, &__stop___fw_ftr_fixup);
360
350 /* 361 /*
351 * Unflatten the device-tree passed by prom_init or kexec 362 * Unflatten the device-tree passed by prom_init or kexec
352 */ 363 */