public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kgdb: add missing __percpu markup in arch/x86/kernel/kgdb.c
@ 2010-08-07 18:00 Namhyung Kim
  2010-08-07 19:34 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Namhyung Kim @ 2010-08-07 18:00 UTC (permalink / raw)
  To: Jason Wessel, x86; +Cc: Tejun Heo, linux-kernel

breakinfo->pev is a pointer to percpu pointer but was missing __percpu markup.
Add it.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
 arch/x86/kernel/kgdb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/kgdb.c b/arch/x86/kernel/kgdb.c
index 01ab17a..f3be870 100644
--- a/arch/x86/kernel/kgdb.c
+++ b/arch/x86/kernel/kgdb.c
@@ -196,7 +196,7 @@ static struct hw_breakpoint {
 	unsigned long		addr;
 	int			len;
 	int			type;
-	struct perf_event	**pev;
+	struct perf_event	* __percpu *pev;
 } breakinfo[4];
 
 static unsigned long early_dr7;
-- 
1.7.0.4


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

end of thread, other threads:[~2010-08-07 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-07 18:00 [PATCH] kgdb: add missing __percpu markup in arch/x86/kernel/kgdb.c Namhyung Kim
2010-08-07 19:34 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox