blob: 88b1f487d06581683ef420d9924d1f614904f147 [file] [log] [blame]
Kevin Hilmana9434e92013-12-17 16:23:49 -08001#ifndef __HISILICON_CORE_H
2#define __HISILICON_CORE_H
3
4#include <linux/reboot.h>
5
6extern void hi3xxx_set_cpu_jump(int cpu, void *jump_addr);
7extern int hi3xxx_get_cpu_jump(int cpu);
8extern void secondary_startup(void);
9extern struct smp_operations hi3xxx_smp_ops;
10
Zhangfei Gao22bae422013-12-11 15:54:55 +080011extern void hi3xxx_cpu_die(unsigned int cpu);
12extern int hi3xxx_cpu_kill(unsigned int cpu);
13extern void hi3xxx_set_cpu(int cpu, bool enable);
14
Haifeng Yan06cc5c12014-04-11 11:54:11 +080015extern void hix5hd2_secondary_startup(void);
16extern struct smp_operations hix5hd2_smp_ops;
17extern void hix5hd2_set_cpu(int cpu, bool enable);
18extern void hix5hd2_cpu_die(unsigned int cpu);
19
Kevin Hilmana9434e92013-12-17 16:23:49 -080020#endif