kgdb: add missing __percpu markup in arch/x86/kernel/kgdb.c
authorNamhyung Kim <namhyung@gmail.com>
Sat, 7 Aug 2010 18:00:59 +0000 (11:00 -0700)
committerJason Wessel <jason.wessel@windriver.com>
Mon, 16 Aug 2010 20:58:30 +0000 (15:58 -0500)
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>
arch/x86/kernel/kgdb.c

index ef10940..852b819 100644 (file)
@@ -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;