#ifdef CONFIG_CGROUP_CPUACCT extern void cpuacct_charge(struct task_struct *tsk, u64 cputime); extern void cpuacct_account_field(struct task_struct *tsk, int index, u64 val); #else static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime) { } static inline void cpuacct_account_field(struct task_struct *tsk, int index, u64 val) { } #endif t.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/net/dsa.h8
-rw-r--r--net/dsa/slave.c26
2 files changed, 34 insertions, 0 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h