tick/nohz: Set the correct expiry when switching to nohz/lowres mode
[linux-2.6/btrfs-unstable.git] / kernel / sched / cpuacct.h
blobed605624a5e76e802c2e74e804713504d2df6106
1 #ifdef CONFIG_CGROUP_CPUACCT
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);
6 #else
8 static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime)
12 static inline void
13 cpuacct_account_field(struct task_struct *p, int index, u64 val)
17 #endif