]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - kernel/sched/cpuacct.h
Merge tag 'pci-v4.4-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[karo-tx-linux.git] / kernel / sched / cpuacct.h
1 #ifdef CONFIG_CGROUP_CPUACCT
2
3 extern void cpuacct_charge(struct task_struct *tsk, u64 cputime);
4 extern void cpuacct_account_field(struct task_struct *p, int index, u64 val);
5
6 #else
7
8 static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime)
9 {
10 }
11
12 static inline void
13 cpuacct_account_field(struct task_struct *p, int index, u64 val)
14 {
15 }
16
17 #endif