From 8db08136dc64ac52e11d362f4f1708001f2dedd9 Mon Sep 17 00:00:00 2001 From: Steven Miao Date: Sat, 28 Apr 2012 15:54:17 +0800 Subject: [PATCH] blackfin: SMP: pda: "next" field of blackfin_pda only used in SMP kernel Signed-off-by: Steven Miao Signed-off-by: Bob Liu --- arch/blackfin/include/asm/pda.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/blackfin/include/asm/pda.h b/arch/blackfin/include/asm/pda.h index 28c2498c9c98..68d6f6618f2a 100644 --- a/arch/blackfin/include/asm/pda.h +++ b/arch/blackfin/include/asm/pda.h @@ -13,7 +13,9 @@ #ifndef __ASSEMBLY__ struct blackfin_pda { /* Per-processor Data Area */ +#ifdef CONFIG_SMP struct blackfin_pda *next; +#endif unsigned long syscfg; #ifdef CONFIG_SMP -- 2.30.2