diff options
Diffstat (limited to 'arch/powerpc/include/asm/machdep.h')
-rw-r--r-- | arch/powerpc/include/asm/machdep.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index e4f01915fbb0..47cacddb14cf 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h | |||
@@ -29,21 +29,6 @@ struct file; | |||
29 | struct pci_controller; | 29 | struct pci_controller; |
30 | struct kimage; | 30 | struct kimage; |
31 | 31 | ||
32 | #ifdef CONFIG_SMP | ||
33 | struct smp_ops_t { | ||
34 | void (*message_pass)(int target, int msg); | ||
35 | int (*probe)(void); | ||
36 | void (*kick_cpu)(int nr); | ||
37 | void (*setup_cpu)(int nr); | ||
38 | void (*bringup_done)(void); | ||
39 | void (*take_timebase)(void); | ||
40 | void (*give_timebase)(void); | ||
41 | int (*cpu_disable)(void); | ||
42 | void (*cpu_die)(unsigned int nr); | ||
43 | int (*cpu_bootable)(unsigned int nr); | ||
44 | }; | ||
45 | #endif | ||
46 | |||
47 | struct machdep_calls { | 32 | struct machdep_calls { |
48 | char *name; | 33 | char *name; |
49 | #ifdef CONFIG_PPC64 | 34 | #ifdef CONFIG_PPC64 |
@@ -267,6 +252,7 @@ struct machdep_calls { | |||
267 | 252 | ||
268 | extern void e500_idle(void); | 253 | extern void e500_idle(void); |
269 | extern void power4_idle(void); | 254 | extern void power4_idle(void); |
255 | extern void power7_idle(void); | ||
270 | extern void ppc6xx_idle(void); | 256 | extern void ppc6xx_idle(void); |
271 | extern void book3e_idle(void); | 257 | extern void book3e_idle(void); |
272 | 258 | ||
@@ -311,12 +297,6 @@ extern sys_ctrler_t sys_ctrler; | |||
311 | 297 | ||
312 | #endif /* CONFIG_PPC_PMAC */ | 298 | #endif /* CONFIG_PPC_PMAC */ |
313 | 299 | ||
314 | #ifdef CONFIG_SMP | ||
315 | /* Poor default implementations */ | ||
316 | extern void __devinit smp_generic_give_timebase(void); | ||
317 | extern void __devinit smp_generic_take_timebase(void); | ||
318 | #endif /* CONFIG_SMP */ | ||
319 | |||
320 | 300 | ||
321 | /* Functions to produce codes on the leds. | 301 | /* Functions to produce codes on the leds. |
322 | * The SRC code should be unique for the message category and should | 302 | * The SRC code should be unique for the message category and should |