]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
sched: Match declaration with definition
authorPranith Kumar <bobby.prani@gmail.com>
Wed, 13 Aug 2014 17:28:12 +0000 (13:28 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 20 Aug 2014 07:47:19 +0000 (09:47 +0200)
Match the declaration of runqueues with the definition.

Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1407950893-32731-1-git-send-email-bobby.prani@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/sched.h

index 579712f4e9d56535e9d981e489dfcc66165457ff..4c2b87fd5f52657460e610ecd620e6c1f2754b8e 100644 (file)
@@ -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))