diff options
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/tt/exec_kern.c | 2 | ||||
-rw-r--r-- | arch/um/kernel/tt/process_kern.c | 2 | ||||
-rw-r--r-- | arch/um/kernel/um_arch.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/kernel/tt/exec_kern.c b/arch/um/kernel/tt/exec_kern.c index 98e21743e604..40126cb51801 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) | |||
57 | enable_timer(); | 57 | enable_timer(); |
58 | free_page(stack); | 58 | free_page(stack); |
59 | protect_memory(uml_reserved, high_physmem - uml_reserved, 1, 1, 0, 1); | 59 | protect_memory(uml_reserved, high_physmem - uml_reserved, 1, 1, 0, 1); |
60 | task_protections((unsigned long) current_thread); | 60 | stack_protections((unsigned long) current_thread); |
61 | force_flush_all(); | 61 | force_flush_all(); |
62 | unblock_signals(); | 62 | unblock_signals(); |
63 | } | 63 | } |
diff --git a/arch/um/kernel/tt/process_kern.c b/arch/um/kernel/tt/process_kern.c index c631303cb800..74347adf81bf 100644 --- a/arch/um/kernel/tt/process_kern.c +++ b/arch/um/kernel/tt/process_kern.c | |||
@@ -209,7 +209,7 @@ void finish_fork_handler(int sig) | |||
209 | if(current->mm != current->parent->mm) | 209 | if(current->mm != current->parent->mm) |
210 | protect_memory(uml_reserved, high_physmem - uml_reserved, 1, | 210 | protect_memory(uml_reserved, high_physmem - uml_reserved, 1, |
211 | 1, 0, 1); | 211 | 1, 0, 1); |
212 | task_protections((unsigned long) current_thread); | 212 | stack_protections((unsigned long) current_thread); |
213 | 213 | ||
214 | free_page(current->thread.temp_stack); | 214 | free_page(current->thread.temp_stack); |
215 | local_irq_disable(); | 215 | local_irq_disable(); |
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index 1cf954a47fd7..ecc458fe51b9 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c | |||
@@ -459,7 +459,7 @@ int __init linux_main(int argc, char **argv) | |||
459 | 459 | ||
460 | uml_postsetup(); | 460 | uml_postsetup(); |
461 | 461 | ||
462 | task_protections((unsigned long) &init_thread_info); | 462 | stack_protections((unsigned long) &init_thread_info); |
463 | os_flush_stdout(); | 463 | os_flush_stdout(); |
464 | 464 | ||
465 | return CHOOSE_MODE(start_uml_tt(), start_uml_skas()); | 465 | return CHOOSE_MODE(start_uml_tt(), start_uml_skas()); |