summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2012-04-28 09:54:17 +0200
committerBob Liu <lliubbo@gmail.com>2012-05-21 08:54:36 +0200
commit8db08136dc64ac52e11d362f4f1708001f2dedd9 (patch)
tree00a2855f0449a1fc885dd7f75bda703a92afb7aa /arch/blackfin
parentblackfin: GPIO: Implement more GPIO APIs (diff)
downloadlinux-8db08136dc64ac52e11d362f4f1708001f2dedd9.tar.xz
linux-8db08136dc64ac52e11d362f4f1708001f2dedd9.zip
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