sh: cache secondary CPUs idle loop.
[pandora-kernel.git] / arch / sh / include / asm / processor.h
index 9605e06..0a58cb2 100644 (file)
@@ -85,6 +85,10 @@ struct sh_cpuinfo {
        struct tlb_info itlb;
        struct tlb_info dtlb;
 
+#ifdef CONFIG_SMP
+       struct task_struct *idle;
+#endif
+
        unsigned long flags;
 } __attribute__ ((aligned(L1_CACHE_BYTES)));
 
@@ -102,6 +106,9 @@ struct task_struct;
 
 extern struct pt_regs fake_swapper_regs;
 
+extern void cpu_init(void);
+extern void cpu_probe(void);
+
 /* arch/sh/kernel/process.c */
 extern unsigned int xstate_size;
 extern void free_thread_xstate(struct task_struct *);