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 cb31fb4a1379..645256b228c3 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -301,7 +301,7 @@ struct rq { | |||
301 | struct lock_class_key rq_lock_key; | 301 | struct lock_class_key rq_lock_key; |
302 | }; | 302 | }; |
303 | 303 | ||
304 | static DEFINE_PER_CPU(struct rq, runqueues) ____cacheline_aligned_in_smp; | 304 | static DEFINE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues); |
305 | static DEFINE_MUTEX(sched_hotcpu_mutex); | 305 | static DEFINE_MUTEX(sched_hotcpu_mutex); |
306 | 306 | ||
307 | static inline void check_preempt_curr(struct rq *rq, struct task_struct *p) | 307 | static inline void check_preempt_curr(struct rq *rq, struct task_struct *p) |