Olof Johansson | a7e816b | 2012-11-06 11:09:10 -0800 | [diff] [blame] | 1 | #ifndef __HIGHBANK_CORE_H |
| 2 | #define __HIGHBANK_CORE_H |
| 3 | |
Rob Herring | 220e6cf | 2011-06-07 10:02:55 -0500 | [diff] [blame] | 4 | extern void highbank_set_cpu_jump(int cpu, void *jump_addr); |
Russell King | 00e9967 | 2011-11-05 11:16:05 +0000 | [diff] [blame] | 5 | extern void highbank_restart(char, const char *); |
Rob Herring | 220e6cf | 2011-06-07 10:02:55 -0500 | [diff] [blame] | 6 | extern void __iomem *scu_base_addr; |
Rob Herring | 220e6cf | 2011-06-07 10:02:55 -0500 | [diff] [blame] | 7 | |
Rob Herring | a283580 | 2012-09-17 09:55:12 -0500 | [diff] [blame] | 8 | #ifdef CONFIG_PM_SLEEP |
| 9 | extern void highbank_pm_init(void); |
| 10 | #else |
| 11 | static inline void highbank_pm_init(void) {} |
| 12 | #endif |
| 13 | |
Rob Herring | 8e56130 | 2012-06-06 17:20:10 -0500 | [diff] [blame] | 14 | extern void highbank_smc1(int fn, int arg); |
Marc Zyngier | 7ad71b6 | 2012-09-05 14:36:18 +0000 | [diff] [blame] | 15 | extern void highbank_cpu_die(unsigned int cpu); |
| 16 | |
| 17 | extern struct smp_operations highbank_smp_ops; |
Olof Johansson | a7e816b | 2012-11-06 11:09:10 -0800 | [diff] [blame] | 18 | |
| 19 | #endif |