From: Steven Miao Date: Sat, 28 Apr 2012 07:54:17 +0000 (+0800) Subject: blackfin: SMP: pda: "next" field of blackfin_pda only used in SMP kernel X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8db08136dc64ac52e11d362f4f1708001f2dedd9;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git blackfin: SMP: pda: "next" field of blackfin_pda only used in SMP kernel Signed-off-by: Steven Miao Signed-off-by: Bob Liu --- 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