File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 12
12
#ifdef CONFIG_TASK_DELAY_ACCT
13
13
struct task_delay_info {
14
14
raw_spinlock_t lock ;
15
- unsigned int flags ; /* Private per-task flags */
16
15
17
16
/* For each stat XXX, add following, aligned appropriately
18
17
*
@@ -74,18 +73,6 @@ extern void __delayacct_thrashing_end(void);
74
73
extern void __delayacct_swapin_start (void );
75
74
extern void __delayacct_swapin_end (void );
76
75
77
- static inline void delayacct_set_flag (struct task_struct * p , int flag )
78
- {
79
- if (p -> delays )
80
- p -> delays -> flags |= flag ;
81
- }
82
-
83
- static inline void delayacct_clear_flag (struct task_struct * p , int flag )
84
- {
85
- if (p -> delays )
86
- p -> delays -> flags &= ~flag ;
87
- }
88
-
89
76
static inline void delayacct_tsk_init (struct task_struct * tsk )
90
77
{
91
78
/* reinitialize in case parent's non-null pointer was dup'ed*/
@@ -184,10 +171,6 @@ static inline void delayacct_swapin_end(void)
184
171
}
185
172
186
173
#else
187
- static inline void delayacct_set_flag (struct task_struct * p , int flag )
188
- {}
189
- static inline void delayacct_clear_flag (struct task_struct * p , int flag )
190
- {}
191
174
static inline void delayacct_init (void )
192
175
{}
193
176
static inline void delayacct_tsk_init (struct task_struct * tsk )
You can’t perform that action at this time.
0 commit comments