aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 4b601be3dace..85f51042c2b8 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1260,6 +1260,7 @@ struct task_struct {
1260 int exit_state; 1260 int exit_state;
1261 int exit_code, exit_signal; 1261 int exit_code, exit_signal;
1262 int pdeath_signal; /* The signal sent when the parent dies */ 1262 int pdeath_signal; /* The signal sent when the parent dies */
1263 unsigned int group_stop; /* GROUP_STOP_*, siglock protected */
1263 /* ??? */ 1264 /* ??? */
1264 unsigned int personality; 1265 unsigned int personality;
1265 unsigned did_exec:1; 1266 unsigned did_exec:1;
@@ -1771,6 +1772,11 @@ extern void thread_group_times(struct task_struct *p, cputime_t *ut, cputime_t *
1771#define tsk_used_math(p) ((p)->flags & PF_USED_MATH) 1772#define tsk_used_math(p) ((p)->flags & PF_USED_MATH)
1772#define used_math() tsk_used_math(current) 1773#define used_math() tsk_used_math(current)
1773 1774
1775/*
1776 * task->group_stop flags
1777 */
1778#define GROUP_STOP_CONSUME (1 << 17) /* consume group stop count */
1779
1774#ifdef CONFIG_PREEMPT_RCU 1780#ifdef CONFIG_PREEMPT_RCU
1775 1781
1776#define RCU_READ_UNLOCK_BLOCKED (1 << 0) /* blocked while in RCU read-side. */ 1782#define RCU_READ_UNLOCK_BLOCKED (1 << 0) /* blocked while in RCU read-side. */