[SPARC64]: Fix binfmt_aout32.c build.
Andrew Morton [Fri, 24 Feb 2006 21:21:18 +0000 (13:21 -0800)]
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

arch/sparc64/kernel/binfmt_aout32.c

index 181c8cd..cb9ecd0 100644 (file)
@@ -330,7 +330,7 @@ beyond_if:
 
        current->mm->start_stack =
                (unsigned long) create_aout32_tables((char __user *)bprm->p, bprm);
-       tsb_context_switch(mm);
+       tsb_context_switch(current->mm);
 
        start_thread32(regs, ex.a_entry, current->mm->start_stack);
        if (current->ptrace & PT_PTRACED)