diff options
Diffstat (limited to 'arch/sh/include/asm/processor.h')
| -rw-r--r-- | arch/sh/include/asm/processor.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/include/asm/processor.h b/arch/sh/include/asm/processor.h index 9605e062840f..0a58cb25a658 100644 --- a/arch/sh/include/asm/processor.h +++ b/arch/sh/include/asm/processor.h | |||
| @@ -85,6 +85,10 @@ struct sh_cpuinfo { | |||
| 85 | struct tlb_info itlb; | 85 | struct tlb_info itlb; |
| 86 | struct tlb_info dtlb; | 86 | struct tlb_info dtlb; |
| 87 | 87 | ||
| 88 | #ifdef CONFIG_SMP | ||
| 89 | struct task_struct *idle; | ||
| 90 | #endif | ||
| 91 | |||
| 88 | unsigned long flags; | 92 | unsigned long flags; |
| 89 | } __attribute__ ((aligned(L1_CACHE_BYTES))); | 93 | } __attribute__ ((aligned(L1_CACHE_BYTES))); |
| 90 | 94 | ||
| @@ -102,6 +106,9 @@ struct task_struct; | |||
| 102 | 106 | ||
| 103 | extern struct pt_regs fake_swapper_regs; | 107 | extern struct pt_regs fake_swapper_regs; |
| 104 | 108 | ||
| 109 | extern void cpu_init(void); | ||
| 110 | extern void cpu_probe(void); | ||
| 111 | |||
| 105 | /* arch/sh/kernel/process.c */ | 112 | /* arch/sh/kernel/process.c */ |
| 106 | extern unsigned int xstate_size; | 113 | extern unsigned int xstate_size; |
| 107 | extern void free_thread_xstate(struct task_struct *); | 114 | extern void free_thread_xstate(struct task_struct *); |
