|
@@ -647,7 +647,7 @@ static inline int cpu_of(struct rq *rq)
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
|
|
|
|
-DECLARE_PER_CPU(struct rq, runqueues);
|
|
|
|
|
|
+DECLARE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues);
|
|
|
|
|
|
#define cpu_rq(cpu) (&per_cpu(runqueues, (cpu)))
|
|
#define cpu_rq(cpu) (&per_cpu(runqueues, (cpu)))
|
|
#define this_rq() (&__get_cpu_var(runqueues))
|
|
#define this_rq() (&__get_cpu_var(runqueues))
|