summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/kgdb.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-08-07 11:00:59 -0700
committerJason Wessel <jason.wessel@windriver.com>2010-08-16 15:58:30 -0500
commit8c8aefce934dc45de641fe78d48ff1b7722d826a (patch)
treea48c66e5c7856a5bd24726ac5989e00c6cb8b1e2 /arch/x86/kernel/kgdb.c
parentb590cddfa6f40447158323b43a13cdae01d9a051 (diff)
downloadkernel-common-8c8aefce934dc45de641fe78d48ff1b7722d826a.tar.gz
kernel-common-8c8aefce934dc45de641fe78d48ff1b7722d826a.tar.bz2
kernel-common-8c8aefce934dc45de641fe78d48ff1b7722d826a.zip
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. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'arch/x86/kernel/kgdb.c')
-rw-r--r--arch/x86/kernel/kgdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/kgdb.c b/arch/x86/kernel/kgdb.c
index ef10940e1af0..852b81967a37 100644
--- a/arch/x86/kernel/kgdb.c
+++ b/arch/x86/kernel/kgdb.c
@@ -194,7 +194,7 @@ static struct hw_breakpoint {
unsigned long addr;
int len;
int type;
- struct perf_event **pev;
+ struct perf_event * __percpu *pev;
} breakinfo[HBP_NUM];
static unsigned long early_dr7;