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 ef10940e1af0534e18c88635d79e25eff73797cf..852b81967a3774b3e252c8affed666423a5b784b 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;