]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - kernel/sched/cpuacct.h
Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-zesty-kernel.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