mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 18:35:09 +07:00
dd68eb02e4
This adapts highbank to use psci for smp_ops and the cpu_suspend function for suspend/resume. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
18 lines
349 B
C
18 lines
349 B
C
#ifndef __HIGHBANK_CORE_H
|
|
#define __HIGHBANK_CORE_H
|
|
|
|
#include <linux/reboot.h>
|
|
|
|
extern void highbank_restart(enum reboot_mode, const char *);
|
|
extern void __iomem *scu_base_addr;
|
|
|
|
#ifdef CONFIG_PM_SLEEP
|
|
extern void highbank_pm_init(void);
|
|
#else
|
|
static inline void highbank_pm_init(void) {}
|
|
#endif
|
|
|
|
extern void highbank_smc1(int fn, int arg);
|
|
|
|
#endif
|