mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
fork: allow kernel code to call copy_process
The next patch adds helpers like create_io_thread, but for use by the vhost layer. There are several functions, so they are in their own file instead of cluttering up fork.c. This patch allows that new file to call copy_process. Signed-off-by: Mike Christie <michael.christie@oracle.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
This commit is contained in:
committed by
Christian Brauner (Microsoft)
parent
094717586b
commit
89c8e98d8c
@@ -2016,7 +2016,7 @@ static void rv_task_fork(struct task_struct *p)
|
||||
* parts of the process environment (as per the clone
|
||||
* flags). The actual kick-off is left to the caller.
|
||||
*/
|
||||
static __latent_entropy struct task_struct *copy_process(
|
||||
__latent_entropy struct task_struct *copy_process(
|
||||
struct pid *pid,
|
||||
int trace,
|
||||
int node,
|
||||
|
Reference in New Issue
Block a user