Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b06c55b authored by Pranith Kumar's avatar Pranith Kumar Committed by Ingo Molnar
Browse files

sched: Match declaration with definition



Match the declaration of runqueues with the definition.

Signed-off-by: default avatarPranith Kumar <bobby.prani@gmail.com>
Signed-off-by: default avatarPeter 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: default avatarIngo Molnar <mingo@kernel.org>
parent 5aface53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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))