Searched refs:ap_poll_kthread (Results 1 – 1 of 1) sorted by relevance
97 static struct task_struct *ap_poll_kthread; variable342 if (ap_poll_kthread) { in ap_wait()493 if (ap_using_interrupts() || ap_poll_kthread) in ap_poll_thread_start()496 ap_poll_kthread = kthread_run(ap_poll_thread, NULL, "appoll"); in ap_poll_thread_start()497 rc = PTR_ERR_OR_ZERO(ap_poll_kthread); in ap_poll_thread_start()499 ap_poll_kthread = NULL; in ap_poll_thread_start()506 if (!ap_poll_kthread) in ap_poll_thread_stop()509 kthread_stop(ap_poll_kthread); in ap_poll_thread_stop()510 ap_poll_kthread = NULL; in ap_poll_thread_stop()1081 return snprintf(buf, PAGE_SIZE, "%d\n", ap_poll_kthread ? 1 : 0); in poll_thread_show()