diff options
author | Mark Johnston <markj@FreeBSD.org> | 2017-07-08 18:52:29 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2017-07-08 18:52:29 +0000 |
commit | 8cd823ecf77e9bbb6796de0bf15ce18b314429e9 (patch) | |
tree | fb1b825c7d8edd487511a3578cc7af1c7dedd9d0 /sys/compat/linuxkpi/common/include/linux | |
parent | 0f827d7a9672979efabcab42248fb192b9621a95 (diff) | |
download | src-8cd823ecf77e9bbb6796de0bf15ce18b314429e9.tar.gz src-8cd823ecf77e9bbb6796de0bf15ce18b314429e9.zip |
Add TASK_COMM_LEN to the LinuxKPI.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=320810
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux')
-rw-r--r-- | sys/compat/linuxkpi/common/include/linux/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/sched.h b/sys/compat/linuxkpi/common/include/linux/sched.h index 589c0f1e50db..56af57733cfa 100644 --- a/sys/compat/linuxkpi/common/include/linux/sched.h +++ b/sys/compat/linuxkpi/common/include/linux/sched.h @@ -56,6 +56,8 @@ #define TASK_WAKING 0x0100 #define TASK_PARKED 0x0200 +#define TASK_COMM_LEN (MAXCOMLEN + 1) + struct task_struct { struct thread *task_thread; struct mm_struct *mm; |