summaryrefslogtreecommitdiffstats
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 98e21743e60..40126cb5180 100644
--- a/arch/um/kernel/tt/exec_kern.c
+++ b/arch/um/kernel/tt/exec_kern.c
@@ -57,7 +57,7 @@ void flush_thread_tt(void)
enable_timer();
free_page(stack);
protect_memory(uml_reserved, high_physmem - uml_reserved, 1, 1, 0, 1);
- task_protections((unsigned long) current_thread);
+ stack_protections((unsigned long) current_thread);
force_flush_all();
unblock_signals();
}