xref: /openbmc/linux/include/linux/sched/vhost_task.h (revision ee1cd5048959de496cd005c50b137212a5b62062)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_VHOST_TASK_H
3 #define _LINUX_VHOST_TASK_H
4 
5 
6 struct vhost_task;
7 
8 struct vhost_task *vhost_task_create(bool (*fn)(void *),
9 				     void (*handle_kill)(void *), void *arg,
10 				     const char *name);
11 void vhost_task_start(struct vhost_task *vtsk);
12 void vhost_task_stop(struct vhost_task *vtsk);
13 void vhost_task_wake(struct vhost_task *vtsk);
14 
15 #endif
16