diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index be2706c885a7..a3a04085e794 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -304,7 +304,7 @@ struct rq { | |||
304 | struct lock_class_key rq_lock_key; | 304 | struct lock_class_key rq_lock_key; |
305 | }; | 305 | }; |
306 | 306 | ||
307 | static DEFINE_PER_CPU(struct rq, runqueues); | 307 | static DEFINE_PER_CPU(struct rq, runqueues) ____cacheline_aligned_in_smp; |
308 | 308 | ||
309 | static inline int cpu_of(struct rq *rq) | 309 | static inline int cpu_of(struct rq *rq) |
310 | { | 310 | { |