Provided by: kernel-doc-2.4.27_2.4.27-12_all
reparent_to_init - Reparent the calling kernel thread to the init
void reparent_to_init (void);
void no arguments
If a kernel thread is launched as a result of a system call, or if it
ever exits, it should generally reparent itself to init so that it is
correctly cleaned up on exit.
The various task state such as scheduling policy and priority may have
been inherited fro a user process, so we reset them to sane values
NOTE that reparent_to_init gives the caller full capabilities.