summaryrefslogtreecommitdiffstats
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
{}
#endif /* CONFIG_TASKSTATS */
+#ifdef CONFIG_TASK_XACCT
+extern void xacct_add_tsk(struct taskstats *stats, struct task_struct *p);
+#else
+static inline void xacct_add_tsk(struct taskstats *stats, struct task_struct *p)
+{}
+#endif /* CONFIG_TASK_XACCT */
+
#endif
+
+