Skip to content

Commit

Permalink
arch/lkl: add kernel_thread name parameter
Browse files Browse the repository at this point in the history
Rebase atop commit cf587db ("kernel: Allow a kernel thread's name
to be set in copy_process").

Signed-off-by: David Disseldorp <[email protected]>
  • Loading branch information
ddiss committed Sep 11, 2023
1 parent 03f487e commit c945e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/lkl/kernel/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static int new_host_task(struct task_struct **task)

switch_to_host_task(host0);

pid = kernel_thread(host_task_stub, NULL, CLONE_FLAGS);
pid = kernel_thread(host_task_stub, NULL, NULL, CLONE_FLAGS);
if (pid < 0)
return pid;

Expand Down Expand Up @@ -170,7 +170,7 @@ int syscalls_init(void)
return -1;
}

if (kernel_thread(idle_host_task_loop, NULL, CLONE_FLAGS) < 0) {
if (kernel_thread(idle_host_task_loop, NULL, NULL, CLONE_FLAGS) < 0) {
if (lkl_ops->tls_free)
lkl_ops->tls_free(task_key);
return -1;
Expand Down

0 comments on commit c945e46

Please sign in to comment.