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