linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] intel_idle: add missing __percpu markup
@ 2010-08-07 18:10 Namhyung Kim
  2010-08-07 19:34 ` Tejun Heo
  0 siblings, 1 reply; 3+ messages in thread
From: Namhyung Kim @ 2010-08-07 18:10 UTC (permalink / raw)
  To: Len Brown, linux-pm; +Cc: Tejun Heo, linux-kernel

intel_idle_cpuidle_devices is a percpu pointer but was missing __percpu markup.
Add it.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
 drivers/idle/intel_idle.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index 54f0fb4..d86ce30 100755
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -85,7 +85,7 @@ static int (*choose_substate)(int);
 /* Reliable LAPIC Timer States, bit 1 for C1 etc.  */
 static unsigned int lapic_timer_reliable_states;
 
-static struct cpuidle_device *intel_idle_cpuidle_devices;
+static struct cpuidle_device __percpu *intel_idle_cpuidle_devices;
 static int intel_idle(struct cpuidle_device *dev, struct cpuidle_state *state);
 
 static struct cpuidle_state *cpuidle_state_table;
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] intel_idle: add missing __percpu markup
  2010-08-07 18:10 [PATCH] intel_idle: add missing __percpu markup Namhyung Kim
@ 2010-08-07 19:34 ` Tejun Heo
  2010-09-23 17:34   ` Len Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Tejun Heo @ 2010-08-07 19:34 UTC (permalink / raw)
  To: Namhyung Kim; +Cc: Len Brown, linux-pm, linux-kernel

On 08/07/2010 08:10 PM, Namhyung Kim wrote:
> intel_idle_cpuidle_devices is a percpu pointer but was missing __percpu markup.
> Add it.
> 
> Signed-off-by: Namhyung Kim <namhyung@gmail.com>

Acked-by: Tejun Heo <tj@kernel.org>

-- 
tejun

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] intel_idle: add missing __percpu markup
  2010-08-07 19:34 ` Tejun Heo
@ 2010-09-23 17:34   ` Len Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Len Brown @ 2010-09-23 17:34 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Namhyung Kim, linux-pm, linux-kernel

applied

thanks,
Len Brown, Intel Open Source Technology Center


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-23 17:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-07 18:10 [PATCH] intel_idle: add missing __percpu markup Namhyung Kim
2010-08-07 19:34 ` Tejun Heo
2010-09-23 17:34   ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).