1 #ifndef __ARCH_MACH_COMMON_H
2 #define __ARCH_MACH_COMMON_H
4 extern void shmobile_init_delay(void);
5 extern void shmobile_boot_vector(void);
6 extern unsigned long shmobile_boot_fn
;
7 extern unsigned long shmobile_boot_size
;
8 extern void shmobile_smp_boot(void);
9 extern void shmobile_smp_sleep(void);
10 extern void shmobile_smp_hook(unsigned int cpu
, unsigned long fn
,
12 extern bool shmobile_smp_cpu_can_disable(unsigned int cpu
);
13 extern void shmobile_boot_scu(void);
14 extern void shmobile_smp_scu_prepare_cpus(unsigned int max_cpus
);
15 extern void shmobile_smp_scu_cpu_die(unsigned int cpu
);
16 extern int shmobile_smp_scu_cpu_kill(unsigned int cpu
);
17 extern struct platform_suspend_ops shmobile_suspend_ops
;
20 int shmobile_suspend_init(void);
21 void shmobile_smp_apmu_suspend_init(void);
23 static inline int shmobile_suspend_init(void) { return 0; }
24 static inline void shmobile_smp_apmu_suspend_init(void) { }
27 #ifdef CONFIG_CPU_FREQ
28 int shmobile_cpufreq_init(void);
30 static inline int shmobile_cpufreq_init(void) { return 0; }
33 extern void __iomem
*shmobile_scu_base
;
35 static inline void __init
shmobile_init_late(void)
37 shmobile_suspend_init();
38 shmobile_cpufreq_init();
41 #endif /* __ARCH_MACH_COMMON_H */