summaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-11 02:09:44 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-12 03:42:36 +0200
commitfb45550d76bb584857cf0ea3be79fa78207a3cff (patch)
treec141122f0aa7f1b5cea4ad52d36228a40b79b2fc /init/main.c
parentmake sure that we always have a return path from kernel_execve() (diff)
downloadlinux-fb45550d76bb584857cf0ea3be79fa78207a3cff.tar.xz
linux-fb45550d76bb584857cf0ea3be79fa78207a3cff.zip
make sure that kernel_thread() callbacks call do_exit() themselves
Most of them never returned anyway - only two functions had to be changed. That allows to simplify their callers a whole lot. Note that this does *not* apply to kthread_run() callbacks - all of those had been called from the same kernel_thread() callback, which did do_exit() already. This is strictly about very few low-level kernel_thread() callbacks (there are only 6 of those, mostly as part of kthread.h and kmod.h exported mechanisms, plus kernel_init() itself). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions