These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / powerpc / platforms / powernv / powernv.h
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 struct pci_dev;
11
12 #ifdef CONFIG_PCI
13 extern void pnv_pci_init(void);
14 extern void pnv_pci_shutdown(void);
15 #else
16 static inline void pnv_pci_init(void) { }
17 static inline void pnv_pci_shutdown(void) { }
18 #endif
19
20 extern u32 pnv_get_supported_cpuidle_states(void);
21
22 extern void pnv_lpc_init(void);
23
24 extern void opal_handle_events(uint64_t events);
25 extern void opal_event_shutdown(void);
26
27 bool cpu_core_split_required(void);
28
29 #endif /* _POWERNV_H */