Merge tag 'upstream-4.6-rc1' of git://git.infradead.org/linux-ubifs
[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);
73e6aafd 4extern void cpuacct_account_field(struct task_struct *tsk, 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 12static inline void
73e6aafd 13cpuacct_account_field(struct task_struct *tsk, int index, u64 val)
1966aaf7
LZ
14{
15}
16
60fed789 17#endif
This page took 0.155358 seconds and 5 git commands to generate.