projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aface5
)
sched: Match declaration with definition
author
Pranith Kumar
<bobby.prani@gmail.com>
Wed, 13 Aug 2014 17:28:12 +0000
(13:28 -0400)
committer
Ingo 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
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched/sched.h
b/kernel/sched/sched.h
index 579712f4e9d56535e9d981e489dfcc66165457ff..4c2b87fd5f52657460e610ecd620e6c1f2754b8e 100644
(file)
--- 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))