Skip to contentSkip to conversation

kgdb: add missing __percpu markup in arch/x86/kernel/kgdb.c

PATCH In review Namhyung Kim 2 participants 2 messages Aug 7, 2010 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kgdb: add missing __percpu markup in arch/x86/kernel/kgdb.c

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

---
 arch/x86/kernel/kgdb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/kgdb.c +1 -1
index 01ab17a..f3be870 100644
@@ -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;
Signature · 1 line
1.7.0.4