diff --git a/kernel/sched.c b/kernel/sched.c index be2706c885a71adc0b5791fecf01a944e2b73eb5..a3a04085e79407a94a0fa79b8b2da7e77be33185 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -304,7 +304,7 @@ struct rq { struct lock_class_key rq_lock_key; }; -static DEFINE_PER_CPU(struct rq, runqueues); +static DEFINE_PER_CPU(struct rq, runqueues) ____cacheline_aligned_in_smp; static inline int cpu_of(struct rq *rq) {