aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/init_task.h2
-rw-r--r--include/linux/sched.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h
index 93c45acf249a..021d8e720c79 100644
--- a/include/linux/init_task.h
+++ b/include/linux/init_task.h
@@ -122,7 +122,7 @@ extern struct group_info init_groups;
122 .state = 0, \ 122 .state = 0, \
123 .stack = &init_thread_info, \ 123 .stack = &init_thread_info, \
124 .usage = ATOMIC_INIT(2), \ 124 .usage = ATOMIC_INIT(2), \
125 .flags = 0, \ 125 .flags = PF_KTHREAD, \
126 .lock_depth = -1, \ 126 .lock_depth = -1, \
127 .prio = MAX_PRIO-20, \ 127 .prio = MAX_PRIO-20, \
128 .static_prio = MAX_PRIO-20, \ 128 .static_prio = MAX_PRIO-20, \
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 79e749dbf81e..eec64a4adb9d 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1483,6 +1483,7 @@ static inline void put_task_struct(struct task_struct *t)
1483#define PF_EXITING 0x00000004 /* getting shut down */ 1483#define PF_EXITING 0x00000004 /* getting shut down */
1484#define PF_EXITPIDONE 0x00000008 /* pi exit done on shut down */ 1484#define PF_EXITPIDONE 0x00000008 /* pi exit done on shut down */
1485#define PF_VCPU 0x00000010 /* I'm a virtual CPU */ 1485#define PF_VCPU 0x00000010 /* I'm a virtual CPU */
1486#define PF_KTHREAD 0x00000020 /* I am a kernel thread */
1486#define PF_FORKNOEXEC 0x00000040 /* forked but didn't exec */ 1487#define PF_FORKNOEXEC 0x00000040 /* forked but didn't exec */
1487#define PF_SUPERPRIV 0x00000100 /* used super-user privileges */ 1488#define PF_SUPERPRIV 0x00000100 /* used super-user privileges */
1488#define PF_DUMPCORE 0x00000200 /* dumped core */ 1489#define PF_DUMPCORE 0x00000200 /* dumped core */