aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/compat/linuxkpi/common/include/linux/sched.h2
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;