aboutsummaryrefslogtreecommitdiff
path: root/arch/um/kernel/tt/exec_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/tt/exec_kern.c')
-rw-r--r--arch/um/kernel/tt/exec_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/tt/exec_kern.c b/arch/um/kernel/tt/exec_kern.c
index 136e54c47d3..8f40e483873 100644
--- a/arch/um/kernel/tt/exec_kern.c
+++ b/arch/um/kernel/tt/exec_kern.c
@@ -39,7 +39,7 @@ void flush_thread_tt(void)
do_exit(SIGKILL);
}
- new_pid = start_fork_tramp(current->thread_info, stack, 0, exec_tramp);
+ new_pid = start_fork_tramp(task_stack_page(current), stack, 0, exec_tramp);
if(new_pid < 0){
printk(KERN_ERR
"flush_thread : new thread failed, errno = %d\n",