Home
last modified time | relevance | path

Searched refs:c_idle (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kernel/
Dsmpboot.c741 struct create_idle *c_idle = in do_fork_idle() local
744 c_idle->idle = fork_idle(c_idle->cpu); in do_fork_idle()
745 complete(&c_idle->done); in do_fork_idle()
805 struct create_idle c_idle = { in do_boot_cpu() local
807 .done = COMPLETION_INITIALIZER_ONSTACK(c_idle.done), in do_boot_cpu()
809 INIT_WORK(&c_idle.work, do_fork_idle); in do_boot_cpu()
823 c_idle.idle = get_idle_for_cpu(cpu); in do_boot_cpu()
829 if (c_idle.idle) { in do_boot_cpu()
830 c_idle.idle->thread.sp = (unsigned long) (((struct pt_regs *) in do_boot_cpu()
831 (THREAD_SIZE + task_stack_page(c_idle.idle))) - 1); in do_boot_cpu()
[all …]
/arch/ia64/kernel/
Dsmpboot.c493 struct create_idle *c_idle = in do_fork_idle() local
496 c_idle->idle = fork_idle(c_idle->cpu); in do_fork_idle()
497 complete(&c_idle->done); in do_fork_idle()
504 struct create_idle c_idle = { in do_boot_cpu() local
505 .work = __WORK_INITIALIZER(c_idle.work, do_fork_idle), in do_boot_cpu()
507 .done = COMPLETION_INITIALIZER(c_idle.done), in do_boot_cpu()
510 c_idle.idle = get_idle_for_cpu(cpu); in do_boot_cpu()
511 if (c_idle.idle) { in do_boot_cpu()
512 init_idle(c_idle.idle, cpu); in do_boot_cpu()
520 c_idle.work.func(&c_idle.work); in do_boot_cpu()
[all …]