aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 6f230596bd0c..b9d713781b5b 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4048,9 +4048,12 @@ static inline void idle_balance(int cpu, struct rq *rq)
4048#endif 4048#endif
4049 4049
4050DEFINE_PER_CPU(struct kernel_stat, kstat); 4050DEFINE_PER_CPU(struct kernel_stat, kstat);
4051
4052EXPORT_PER_CPU_SYMBOL(kstat); 4051EXPORT_PER_CPU_SYMBOL(kstat);
4053 4052
4053#ifdef CONFIG_HAVE_DYN_ARRAY
4054DEFINE_PER_CPU_DYN_ARRAY_ADDR(per_cpu__kstat_irqs, per_cpu__kstat.irqs, sizeof(unsigned int), nr_irqs, sizeof(unsigned long), NULL);
4055#endif
4056
4054/* 4057/*
4055 * Return p->sum_exec_runtime plus any more ns on the sched_clock 4058 * Return p->sum_exec_runtime plus any more ns on the sched_clock
4056 * that have not yet been banked in case the task is currently running. 4059 * that have not yet been banked in case the task is currently running.