summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/include/linux/kthread.h
blob: a8ead1cefbfb680df20856a7002ae1ce11e8f328 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Public domain. */

#ifndef _LINUX_KTHREAD_H
#define _LINUX_KTHREAD_H

/* both for printf */
#include <sys/types.h>
#include <sys/systm.h>

struct proc *kthread_run(int (*)(void *), void *, const char *);
void 	kthread_park(struct proc *);
void 	kthread_unpark(struct proc *);
int	kthread_should_park(void);
void 	kthread_parkme(void);
void	kthread_stop(struct proc *);
int	kthread_should_stop(void);

#endif