Index: arch/mips/kernel/smp.c =================================================================== RCS file: /home/cvs/linux/arch/mips/kernel/smp.c,v retrieving revision 1.10.2.24 diff -u -r1.10.2.24 smp.c --- arch/mips/kernel/smp.c 23 Apr 2003 20:10:49 -0000 1.10.2.24 +++ arch/mips/kernel/smp.c 25 Apr 2003 18:27:05 -0000 @@ -39,6 +39,9 @@ #include #include +extern void load_mmu(void); +extern void per_cpu_trap_init(void); + /* The 'big kernel lock' */ spinlock_t kernel_flag __cacheline_aligned_in_smp = SPIN_LOCK_UNLOCKED; int smp_threads_ready; /* Not used */ @@ -99,6 +102,7 @@ unsigned int cpu = smp_processor_id(); cpu_probe(); + load_mmu(); prom_init_secondary(); per_cpu_trap_init(); Index: arch/mips64/kernel/smp.c =================================================================== RCS file: /home/cvs/linux/arch/mips64/kernel/smp.c,v retrieving revision 1.26.2.22 diff -u -r1.26.2.22 smp.c --- arch/mips64/kernel/smp.c 23 Apr 2003 20:10:49 -0000 1.26.2.22 +++ arch/mips64/kernel/smp.c 25 Apr 2003 18:27:05 -0000 @@ -39,6 +39,9 @@ #include #include +extern void load_mmu(void); +extern void per_cpu_trap_init(void); + /* The 'big kernel lock' */ spinlock_t kernel_flag __cacheline_aligned_in_smp = SPIN_LOCK_UNLOCKED; int smp_threads_ready; /* Not used */ @@ -103,6 +106,7 @@ unsigned int cpu = smp_processor_id(); cpu_probe(); + load_mmu(); prom_init_secondary(); per_cpu_trap_init();