* [PATCH 1/1] sched: Match declaration with definition
@ 2014-08-13 17:28 Pranith Kumar
2014-08-20 8:19 ` [tip:sched/core] " tip-bot for Pranith Kumar
0 siblings, 1 reply; 2+ messages in thread
From: Pranith Kumar @ 2014-08-13 17:28 UTC (permalink / raw)
To: Ingo Molnar, Peter Zijlstra, open list:SCHEDULER
Match the declaration of runqueues with the definition.
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
---
kernel/sched/sched.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 579712f..4c2b87f 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))
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:sched/core] sched: Match declaration with definition
2014-08-13 17:28 [PATCH 1/1] sched: Match declaration with definition Pranith Kumar
@ 2014-08-20 8:19 ` tip-bot for Pranith Kumar
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Pranith Kumar @ 2014-08-20 8:19 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, bobby.prani, torvalds, peterz, tglx
Commit-ID: 8b06c55bdb8b402cb4814e83dc4b1cb245fcc9f5
Gitweb: http://git.kernel.org/tip/8b06c55bdb8b402cb4814e83dc4b1cb245fcc9f5
Author: Pranith Kumar <bobby.prani@gmail.com>
AuthorDate: Wed, 13 Aug 2014 13:28:12 -0400
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Wed, 20 Aug 2014 09:47:19 +0200
sched: Match declaration with definition
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 579712f..4c2b87f 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))
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-20 8:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-13 17:28 [PATCH 1/1] sched: Match declaration with definition Pranith Kumar
2014-08-20 8:19 ` [tip:sched/core] " tip-bot for Pranith Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome