diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-10 23:57:26 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-12 01:42:35 (GMT) |
commit | d6b2123802d2b7eee8c62cd0ebd73e8636cbb068 (patch) | |
tree | 70b01994296337051b8432b6d2bf46ff15e4e2c6 /kernel/kmod.c | |
parent | ecf89e581acce83e8cd2a5530858be22c64441f7 (diff) | |
download | linux-fsl-qoriq-d6b2123802d2b7eee8c62cd0ebd73e8636cbb068.tar.xz |
make sure that we always have a return path from kernel_execve()
The only place where kernel_execve() is called without a way to
return to the caller of kernel_thread() callback is kernel_post().
Reorganize kernel_init()/kernel_post() - instead of the former
calling the latter in the end (and getting freed by it), have the
latter *begin* with calling the former (and turn the latter into
kernel_thread() callback, of course).
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions