[PATCH] uml: _switch_to code consolidation
authorJeff Dike <jdike@addtoit.com>
Sat, 17 Sep 2005 02:27:43 +0000 (19:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 17 Sep 2005 18:49:59 +0000 (11:49 -0700)
commitf6e34c6af6f18bd6c66bfb1c6a7c57068412aa73
tree45aebccc135b870a5aff5dcf975325171c7bf891
parent6add9f7f529b124938d14ae9db5a952d1272075a
[PATCH] uml: _switch_to code consolidation

This patch moves code that is in both switch_to_tt and switch_to_skas to the
top level _switch_to function, keeping us from duplicating code.  It is
required for the stack trace patch to work properly.

Signed-off-by: Allan Graves <allan.graves@gmail.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/process_kern.c
arch/um/kernel/skas/include/mode_kern-skas.h
arch/um/kernel/skas/process_kern.c
arch/um/kernel/tt/include/mode_kern-tt.h
arch/um/kernel/tt/process_kern.c