diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-08-07 20:00:59 +0200 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-08-16 22:58:30 +0200 |
commit | 8c8aefce934dc45de641fe78d48ff1b7722d826a (patch) | |
tree | a48c66e5c7856a5bd24726ac5989e00c6cb8b1e2 /arch/x86/kernel/kgdb.c | |
parent | kdb: fix compile error without CONFIG_KALLSYMS (diff) | |
download | linux-8c8aefce934dc45de641fe78d48ff1b7722d826a.tar.xz linux-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.c | 2 |
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; |