Merge tag 'gcc-plugins-v4.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git] / 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 extern u64 pnv_deepest_stop_state;
22
23 extern void pnv_lpc_init(void);
24
25 extern void opal_handle_events(uint64_t events);
26 extern void opal_event_shutdown(void);
27
28 bool cpu_core_split_required(void);
29
30 #endif /* _POWERNV_H */