aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tsacct_kern.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tsacct_kern.h')
-rw-r--r--include/linux/tsacct_kern.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/tsacct_kern.h b/include/linux/tsacct_kern.h
index 7e8196a0211..74102dcae67 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
20extern void xacct_add_tsk(struct taskstats *stats, struct task_struct *p);
21#else
22static 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