aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/sched.h
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2017-06-18 19:22:05 +0000
committerMark Johnston <markj@FreeBSD.org>2017-06-18 19:22:05 +0000
commit8504aa98527b7f2078980ec5b650a06063bf079a (patch)
treeb117022c3483eab2683eba6ce1b1b7bb048560e9 /sys/compat/linuxkpi/common/include/linux/sched.h
parentd4e3484bd9166cab99605f864d8c3b102c754953 (diff)
downloadsrc-8504aa98527b7f2078980ec5b650a06063bf079a.tar.gz
src-8504aa98527b7f2078980ec5b650a06063bf079a.zip
Add kthread parking support to the LinuxKPI.
Submitted by: kmacy (original version) Reviewed by: hselasky MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D11264
Notes
Notes: svn path=/head/; revision=320078
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/sched.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/sched.h b/sys/compat/linuxkpi/common/include/linux/sched.h
index da30db96d6b1..589c0f1e50db 100644
--- a/sys/compat/linuxkpi/common/include/linux/sched.h
+++ b/sys/compat/linuxkpi/common/include/linux/sched.h
@@ -54,6 +54,7 @@
#define TASK_UNINTERRUPTIBLE 0x0002
#define TASK_NORMAL (TASK_INTERRUPTIBLE | TASK_UNINTERRUPTIBLE)
#define TASK_WAKING 0x0100
+#define TASK_PARKED 0x0200
struct task_struct {
struct thread *task_thread;