blackfin: SMP: pda: "next" field of blackfin_pda only used in SMP kernel
authorSteven Miao <[email protected]>
Sat, 28 Apr 2012 07:54:17 +0000 (15:54 +0800)
committerBob Liu <[email protected]>
Mon, 21 May 2012 06:54:36 +0000 (14:54 +0800)
Signed-off-by: Steven Miao <[email protected]>
Signed-off-by: Bob Liu <[email protected]>
arch/blackfin/include/asm/pda.h

index 28c2498c9c987a61c36a63f724194540c07e5a14..68d6f6618f2aecfa7af15a194bb5d29581000809 100644 (file)
@@ -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