aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel')
-rw-r--r--arch/um/kernel/init_task.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/um/kernel/init_task.c b/arch/um/kernel/init_task.c
index cda91aa8e703..4506c7f32bac 100644
--- a/arch/um/kernel/init_task.c
+++ b/arch/um/kernel/init_task.c
@@ -44,8 +44,7 @@ __attribute__((__section__(".data.init_task"))) =
44 44
45void unprotect_stack(unsigned long stack) 45void unprotect_stack(unsigned long stack)
46{ 46{
47 os_protect_memory((void *) stack, (1 << CONFIG_KERNEL_STACK_ORDER) * PAGE_SIZE, 47 os_protect_memory((void *) stack, THREAD_SIZE, 1, 1, 0);
48 1, 1, 0);
49} 48}
50 49
51/* 50/*