Merge tag 'iommu-fixes-v4.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git] / kernel / sched / cpuacct.h
CommitLineData
60fed789
LZ
1#ifdef CONFIG_CGROUP_CPUACCT
2
60fed789 3extern void cpuacct_charge(struct task_struct *tsk, u64 cputime);
1966aaf7 4extern void cpuacct_account_field(struct task_struct *p, int index, u64 val);
60fed789
LZ
5
6#else
7
8static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime)
9{
10}
11
1966aaf7
LZ
12static inline void
13cpuacct_account_field(struct task_struct *p, int index, u64 val)
14{
15}
16
60fed789 17#endif
This page took 0.126834 seconds and 5 git commands to generate.