Loading...
Note: File does not exist in v3.5.6.
1#ifndef __ARCH_MACH_COMMON_H
2#define __ARCH_MACH_COMMON_H
3
4extern void shmobile_init_delay(void);
5extern void shmobile_boot_vector(void);
6extern unsigned long shmobile_boot_fn;
7extern unsigned long shmobile_boot_size;
8extern void shmobile_smp_boot(void);
9extern void shmobile_smp_sleep(void);
10extern void shmobile_smp_hook(unsigned int cpu, unsigned long fn,
11 unsigned long arg);
12extern bool shmobile_smp_cpu_can_disable(unsigned int cpu);
13extern bool shmobile_smp_init_fallback_ops(void);
14extern void shmobile_boot_scu(void);
15extern void shmobile_smp_scu_prepare_cpus(phys_addr_t scu_base_phys,
16 unsigned int max_cpus);
17extern void shmobile_smp_scu_cpu_die(unsigned int cpu);
18extern int shmobile_smp_scu_cpu_kill(unsigned int cpu);
19extern struct platform_suspend_ops shmobile_suspend_ops;
20
21#ifdef CONFIG_SUSPEND
22int shmobile_suspend_init(void);
23void shmobile_smp_apmu_suspend_init(void);
24#else
25static inline int shmobile_suspend_init(void) { return 0; }
26static inline void shmobile_smp_apmu_suspend_init(void) { }
27#endif
28
29static inline void __init shmobile_init_late(void)
30{
31 shmobile_suspend_init();
32}
33
34#endif /* __ARCH_MACH_COMMON_H */