Browse Source

blackfin: SMP: pda: "next" field of blackfin_pda only used in SMP kernel

Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Steven Miao 13 years ago
parent
commit
8db08136dc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/blackfin/include/asm/pda.h

+ 2 - 0
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