summaryrefslogtreecommitdiff
path: root/arch/blackfin/include/asm/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/include/asm/cpu.h')
-rw-r--r--arch/blackfin/include/asm/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/cpu.h b/arch/blackfin/include/asm/cpu.h
index 05043786da21..e349631c8299 100644
--- a/arch/blackfin/include/asm/cpu.h
+++ b/arch/blackfin/include/asm/cpu.h
@@ -14,6 +14,9 @@ struct blackfin_cpudata {
struct cpu cpu;
unsigned int imemctl;
unsigned int dmemctl;
+#ifdef CONFIG_SMP
+ struct task_struct *idle;
+#endif
};
DECLARE_PER_CPU(struct blackfin_cpudata, cpu_data);