summaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/process.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2022-04-11 23:17:28 +0200
committerEric W. Biederman <ebiederm@xmission.com>2022-05-07 16:01:59 +0200
commit36cb0e1cda645ee645b85a6ce652cb46a16e14e5 (patch)
treef4c38b8a981df1a2f7fd4681c6cc4f6859893f0f /arch/m68k/kernel/process.c
parentfork: Pass struct kernel_clone_args into copy_thread (diff)
downloadlinux-36cb0e1cda645ee645b85a6ce652cb46a16e14e5.tar.xz
linux-36cb0e1cda645ee645b85a6ce652cb46a16e14e5.zip
fork: Explicity test for idle tasks in copy_thread
The architectures ia64 and parisc have special handling for the idle thread in copy_process. Add a flag named idle to kernel_clone_args and use it to explicity test if an idle process is being created. Fullfill the expectations of the rest of the copy_thread implemetations and pass a function pointer in .stack from fork_idle(). This makes what is happening in copy_thread better defined, and is useful to make idle threads less special. Link: https://lkml.kernel.org/r/20220506141512.516114-3-ebiederm@xmission.com Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/m68k/kernel/process.c')
0 files changed, 0 insertions, 0 deletions