From: Pranith Kumar Date: Wed, 13 Aug 2014 17:28:12 +0000 (-0400) Subject: sched: Match declaration with definition X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8b06c55bdb8b402cb4814e83dc4b1cb245fcc9f5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sched: Match declaration with definition Match the declaration of runqueues with the definition. Signed-off-by: Pranith Kumar Signed-off-by: Peter Zijlstra Cc: Linus Torvalds Link: http://lkml.kernel.org/r/1407950893-32731-1-git-send-email-bobby.prani@gmail.com Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 579712f4e9d5..4c2b87fd5f52 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -647,7 +647,7 @@ static inline int cpu_of(struct rq *rq) #endif } -DECLARE_PER_CPU(struct rq, runqueues); +DECLARE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues); #define cpu_rq(cpu) (&per_cpu(runqueues, (cpu))) #define this_rq() (&__get_cpu_var(runqueues))