|
@@ -4,11 +4,10 @@
|
|
extern void shmobile_earlytimer_init(void);
|
|
extern void shmobile_earlytimer_init(void);
|
|
extern struct sys_timer shmobile_timer;
|
|
extern struct sys_timer shmobile_timer;
|
|
extern void shmobile_setup_delay(unsigned int max_cpu_core_mhz,
|
|
extern void shmobile_setup_delay(unsigned int max_cpu_core_mhz,
|
|
- unsigned int mult, unsigned int div);
|
|
|
|
|
|
+ unsigned int mult, unsigned int div);
|
|
struct twd_local_timer;
|
|
struct twd_local_timer;
|
|
extern void shmobile_setup_console(void);
|
|
extern void shmobile_setup_console(void);
|
|
extern void shmobile_secondary_vector(void);
|
|
extern void shmobile_secondary_vector(void);
|
|
-extern int shmobile_platform_cpu_kill(unsigned int cpu);
|
|
|
|
struct clk;
|
|
struct clk;
|
|
extern int shmobile_clk_init(void);
|
|
extern int shmobile_clk_init(void);
|
|
extern void shmobile_handle_irq_intc(struct pt_regs *);
|
|
extern void shmobile_handle_irq_intc(struct pt_regs *);
|
|
@@ -58,11 +57,6 @@ extern struct clk sh73a0_extal2_clk;
|
|
extern struct clk sh73a0_extcki_clk;
|
|
extern struct clk sh73a0_extcki_clk;
|
|
extern struct clk sh73a0_extalr_clk;
|
|
extern struct clk sh73a0_extalr_clk;
|
|
|
|
|
|
-extern unsigned int sh73a0_get_core_count(void);
|
|
|
|
-extern void sh73a0_secondary_init(unsigned int cpu);
|
|
|
|
-extern int sh73a0_boot_secondary(unsigned int cpu);
|
|
|
|
-extern void sh73a0_smp_prepare_cpus(void);
|
|
|
|
-
|
|
|
|
extern void r8a7740_init_irq(void);
|
|
extern void r8a7740_init_irq(void);
|
|
extern void r8a7740_map_io(void);
|
|
extern void r8a7740_map_io(void);
|
|
extern void r8a7740_add_early_devices(void);
|
|
extern void r8a7740_add_early_devices(void);
|
|
@@ -79,11 +73,6 @@ extern void r8a7779_pinmux_init(void);
|
|
extern void r8a7779_pm_init(void);
|
|
extern void r8a7779_pm_init(void);
|
|
extern void r8a7740_meram_workaround(void);
|
|
extern void r8a7740_meram_workaround(void);
|
|
|
|
|
|
-extern unsigned int r8a7779_get_core_count(void);
|
|
|
|
-extern int r8a7779_platform_cpu_kill(unsigned int cpu);
|
|
|
|
-extern void r8a7779_secondary_init(unsigned int cpu);
|
|
|
|
-extern int r8a7779_boot_secondary(unsigned int cpu);
|
|
|
|
-extern void r8a7779_smp_prepare_cpus(void);
|
|
|
|
extern void r8a7779_register_twd(void);
|
|
extern void r8a7779_register_twd(void);
|
|
|
|
|
|
extern void shmobile_init_late(void);
|
|
extern void shmobile_init_late(void);
|
|
@@ -100,4 +89,15 @@ int shmobile_cpuidle_init(void);
|
|
static inline int shmobile_cpuidle_init(void) { return 0; }
|
|
static inline int shmobile_cpuidle_init(void) { return 0; }
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+extern void shmobile_cpu_die(unsigned int cpu);
|
|
|
|
+extern int shmobile_cpu_disable(unsigned int cpu);
|
|
|
|
+
|
|
|
|
+#ifdef CONFIG_HOTPLUG_CPU
|
|
|
|
+extern int shmobile_cpu_is_dead(unsigned int cpu);
|
|
|
|
+#else
|
|
|
|
+static inline int shmobile_cpu_is_dead(unsigned int cpu) { return 1; }
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+extern void shmobile_smp_init_cpus(unsigned int ncores);
|
|
|
|
+
|
|
#endif /* __ARCH_MACH_COMMON_H */
|
|
#endif /* __ARCH_MACH_COMMON_H */
|