core.h 605 B

1234567891011121314151617181920
  1. #ifndef __HISILICON_CORE_H
  2. #define __HISILICON_CORE_H
  3. #include <linux/reboot.h>
  4. extern void hi3xxx_set_cpu_jump(int cpu, void *jump_addr);
  5. extern int hi3xxx_get_cpu_jump(int cpu);
  6. extern void secondary_startup(void);
  7. extern struct smp_operations hi3xxx_smp_ops;
  8. extern void hi3xxx_cpu_die(unsigned int cpu);
  9. extern int hi3xxx_cpu_kill(unsigned int cpu);
  10. extern void hi3xxx_set_cpu(int cpu, bool enable);
  11. extern void hix5hd2_secondary_startup(void);
  12. extern struct smp_operations hix5hd2_smp_ops;
  13. extern void hix5hd2_set_cpu(int cpu, bool enable);
  14. extern void hix5hd2_cpu_die(unsigned int cpu);
  15. #endif