blob: c7648ef1825c70283b3a8d1e123176cb71dafd22 [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 struct smp_operations hix5hd2_smp_ops;
16extern void hix5hd2_set_cpu(int cpu, bool enable);
17extern void hix5hd2_cpu_die(unsigned int cpu);
18
Wang Long7fda91e2014-12-24 03:10:02 +000019extern struct smp_operations hip01_smp_ops;
20extern void hip01_set_cpu(int cpu, bool enable);
21extern void hip01_cpu_die(unsigned int cpu);
Kevin Hilmana9434e92013-12-17 16:23:49 -080022#endif