aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched/signal.h')
-rw-r--r--include/linux/sched/signal.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/include/linux/sched/signal.h b/include/linux/sched/signal.h
index efd8ce7675ed..88050259c466 100644
--- a/include/linux/sched/signal.h
+++ b/include/linux/sched/signal.h
@@ -9,6 +9,7 @@
9#include <linux/sched/task.h> 9#include <linux/sched/task.h>
10#include <linux/cred.h> 10#include <linux/cred.h>
11#include <linux/refcount.h> 11#include <linux/refcount.h>
12#include <linux/posix-timers.h>
12 13
13/* 14/*
14 * Types defining task->signal and task->sighand and APIs using them: 15 * Types defining task->signal and task->sighand and APIs using them:
@@ -56,18 +57,12 @@ struct task_cputime_atomic {
56/** 57/**
57 * struct thread_group_cputimer - thread group interval timer counts 58 * struct thread_group_cputimer - thread group interval timer counts
58 * @cputime_atomic: atomic thread group interval timers. 59 * @cputime_atomic: atomic thread group interval timers.
59 * @running: true when there are timers running and
60 * @cputime_atomic receives updates.
61 * @checking_timer: true when a thread in the group is in the
62 * process of checking for thread group timers.
63 * 60 *
64 * This structure contains the version of task_cputime, above, that is 61 * This structure contains the version of task_cputime, above, that is
65 * used for thread group CPU timer calculations. 62 * used for thread group CPU timer calculations.
66 */ 63 */
67struct thread_group_cputimer { 64struct thread_group_cputimer {
68 struct task_cputime_atomic cputime_atomic; 65 struct task_cputime_atomic cputime_atomic;
69 bool running;
70 bool checking_timer;
71}; 66};
72 67
73struct multiprocess_signals { 68struct multiprocess_signals {
@@ -148,12 +143,9 @@ struct signal_struct {
148 */ 143 */
149 struct thread_group_cputimer cputimer; 144 struct thread_group_cputimer cputimer;
150 145
151 /* Earliest-expiration cache. */
152 struct task_cputime cputime_expires;
153
154 struct list_head cpu_timers[3];
155
156#endif 146#endif
147 /* Empty if CONFIG_POSIX_TIMERS=n */
148 struct posix_cputimers posix_cputimers;
157 149
158 /* PID/PID hash table linkage. */ 150 /* PID/PID hash table linkage. */
159 struct pid *pids[PIDTYPE_MAX]; 151 struct pid *pids[PIDTYPE_MAX];