[SPARC64]: Get SUN4V SMP working.
[deliverable/linux.git] / arch / sparc64 / kernel / traps.c
index 5956d0a940095c40c9d3ad503e3e0c88f6baf9fa..c9484ae5bb8fc339a0fd3bef7bcd4e523d6d76af 100644 (file)
@@ -2413,12 +2413,12 @@ struct trap_per_cpu trap_block[NR_CPUS];
 /* This can get invoked before sched_init() so play it super safe
  * and use hard_smp_processor_id().
  */
-void init_cur_cpu_trap(void)
+void init_cur_cpu_trap(struct thread_info *t)
 {
        int cpu = hard_smp_processor_id();
        struct trap_per_cpu *p = &trap_block[cpu];
 
-       p->thread = current_thread_info();
+       p->thread = t;
        p->pgd_paddr = 0;
 }
 
This page took 0.035258 seconds and 5 git commands to generate.