diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 77ce668ba30217c4d4552c2a05ea1f295971724e..31d25f80a7c69b4743ad671e26ce81b1ec7fec5c 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -149,9 +149,11 @@ struct task_group { unsigned long shares; atomic_t load_weight; +#ifdef CONFIG_SMP atomic64_t load_avg; atomic_t runnable_avg; #endif +#endif #ifdef CONFIG_RT_GROUP_SCHED struct sched_rt_entity **rt_se;