Kevin Hilman | a9434e9 | 2013-12-17 16:23:49 -0800 | [diff] [blame] | 1 | #ifndef __HISILICON_CORE_H |
| 2 | #define __HISILICON_CORE_H |
| 3 | |
| 4 | #include <linux/reboot.h> |
| 5 | |
| 6 | extern void hi3xxx_set_cpu_jump(int cpu, void *jump_addr); |
| 7 | extern int hi3xxx_get_cpu_jump(int cpu); |
| 8 | extern void secondary_startup(void); |
| 9 | extern struct smp_operations hi3xxx_smp_ops; |
| 10 | |
Zhangfei Gao | 22bae42 | 2013-12-11 15:54:55 +0800 | [diff] [blame] | 11 | extern void hi3xxx_cpu_die(unsigned int cpu); |
| 12 | extern int hi3xxx_cpu_kill(unsigned int cpu); |
| 13 | extern void hi3xxx_set_cpu(int cpu, bool enable); |
| 14 | |
Haifeng Yan | 06cc5c1 | 2014-04-11 11:54:11 +0800 | [diff] [blame] | 15 | extern void hix5hd2_secondary_startup(void); |
| 16 | extern struct smp_operations hix5hd2_smp_ops; |
| 17 | extern void hix5hd2_set_cpu(int cpu, bool enable); |
| 18 | extern void hix5hd2_cpu_die(unsigned int cpu); |
| 19 | |
Kevin Hilman | a9434e9 | 2013-12-17 16:23:49 -0800 | [diff] [blame] | 20 | #endif |