diff options
Diffstat (limited to 'include/linux/tsacct_kern.h')
-rw-r--r-- | include/linux/tsacct_kern.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/tsacct_kern.h b/include/linux/tsacct_kern.h index 74102dcae67a..7e50ac795b0b 100644 --- a/include/linux/tsacct_kern.h +++ b/include/linux/tsacct_kern.h | |||
@@ -18,9 +18,15 @@ static inline void bacct_add_tsk(struct taskstats *stats, struct task_struct *ts | |||
18 | 18 | ||
19 | #ifdef CONFIG_TASK_XACCT | 19 | #ifdef CONFIG_TASK_XACCT |
20 | extern void xacct_add_tsk(struct taskstats *stats, struct task_struct *p); | 20 | extern void xacct_add_tsk(struct taskstats *stats, struct task_struct *p); |
21 | extern void acct_update_integrals(struct task_struct *tsk); | ||
22 | extern void acct_clear_integrals(struct task_struct *tsk); | ||
21 | #else | 23 | #else |
22 | static inline void xacct_add_tsk(struct taskstats *stats, struct task_struct *p) | 24 | static inline void xacct_add_tsk(struct taskstats *stats, struct task_struct *p) |
23 | {} | 25 | {} |
26 | static inline void acct_update_integrals(struct task_struct *tsk) | ||
27 | {} | ||
28 | static inline void acct_clear_integrals(struct task_struct *tsk) | ||
29 | {} | ||
24 | #endif /* CONFIG_TASK_XACCT */ | 30 | #endif /* CONFIG_TASK_XACCT */ |
25 | 31 | ||
26 | #endif | 32 | #endif |