summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2012-04-28 15:54:17 +0800
committerBob Liu <lliubbo@gmail.com>2012-05-21 14:54:36 +0800
commit8db08136dc64ac52e11d362f4f1708001f2dedd9 (patch)
tree00a2855f0449a1fc885dd7f75bda703a92afb7aa /arch/blackfin
parent45abc49d194539144b5dd510c82c03c36cbd3a58 (diff)
downloadlinux-8db08136dc64ac52e11d362f4f1708001f2dedd9.tar.bz2
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>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/include/asm/pda.h2
1 files changed, 2 insertions, 0 deletions
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