Forráskód Böngészése

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>
Namhyung Kim 15 éve
szülő
commit
8c8aefce93
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      arch/x86/kernel/kgdb.c

+ 1 - 1
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;