[SPARC64]: Add infrastructure for dynamic TSB sizing.
[linux-2.6.git] / arch / sparc64 / kernel / binfmt_aout32.c
index a57d7f2b6f137ee88a4829ae9e17fa5565a9eccc..181c8cdf9541b62e13110646aac0b71298f70b4a 100644 (file)
@@ -330,8 +330,7 @@ beyond_if:
 
        current->mm->start_stack =
                (unsigned long) create_aout32_tables((char __user *)bprm->p, bprm);
-       tsb_context_switch(__pa(current->mm->pgd),
-                          current->mm->context.sparc64_tsb);
+       tsb_context_switch(mm);
 
        start_thread32(regs, ex.a_entry, current->mm->start_stack);
        if (current->ptrace & PT_PTRACED)