1 #ifndef _POWERNV_H
2 #define _POWERNV_H
3 
4 #ifdef CONFIG_SMP
5 extern void pnv_smp_init(void);
6 #else
7 static inline void pnv_smp_init(void) { }
8 #endif
9 
10 extern void pnv_platform_error_reboot(struct pt_regs *regs, const char *msg) __noreturn;
11 
12 struct pci_dev;
13 
14 #ifdef CONFIG_PCI
15 extern void pnv_pci_init(void);
16 extern void pnv_pci_shutdown(void);
17 #else
18 static inline void pnv_pci_init(void) { }
19 static inline void pnv_pci_shutdown(void) { }
20 #endif
21 
22 extern u32 pnv_get_supported_cpuidle_states(void);
23 
24 extern void pnv_lpc_init(void);
25 
26 extern void opal_handle_events(uint64_t events);
27 extern void opal_event_shutdown(void);
28 
29 bool cpu_core_split_required(void);
30 
31 #endif /* _POWERNV_H */
32