aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/um_arch.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-05-11 01:22:30 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-11 11:29:33 -0400
commit57598fd7b31f6437874308a79ca23e51c74da59b (patch)
treeb81df1f04864611d23dbaae11343f3827f6e4aa7 /arch/um/kernel/um_arch.c
parent22258d406f91d7f7ee8e58f18b3722d0647f6a9a (diff)
uml: remove task_protections
Replaced task_protections with stack_protections since they do the same thing, and task_protections was misnamed anyway. This needs THREAD_SIZE, so that's imported via common-offsets.h Also tidied up the code in the vicinity. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/kernel/um_arch.c')
-rw-r--r--arch/um/kernel/um_arch.c2
1 files changed, 1 insertions, 1 deletions
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());