iwl4965: fix not correctly dealing with hotunplug
[sfrench/cifs-2.6.git] / include / linux / cpu_acct.h
1
2 #ifndef _LINUX_CPU_ACCT_H
3 #define _LINUX_CPU_ACCT_H
4
5 #include <linux/cgroup.h>
6 #include <asm/cputime.h>
7
8 #ifdef CONFIG_CGROUP_CPUACCT
9 extern void cpuacct_charge(struct task_struct *, cputime_t cputime);
10 #else
11 static void inline cpuacct_charge(struct task_struct *p, cputime_t cputime) {}
12 #endif
13
14 #endif