]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
55190f88 BH |
2 | #ifndef _POWERNV_H |
3 | #define _POWERNV_H | |
4 | ||
5 | #ifdef CONFIG_SMP | |
6 | extern void pnv_smp_init(void); | |
7 | #else | |
8 | static inline void pnv_smp_init(void) { } | |
9 | #endif | |
10 | ||
b746e3e0 NP |
11 | extern void pnv_platform_error_reboot(struct pt_regs *regs, const char *msg) __noreturn; |
12 | ||
cd15b048 BH |
13 | struct pci_dev; |
14 | ||
61305a96 BH |
15 | #ifdef CONFIG_PCI |
16 | extern void pnv_pci_init(void); | |
73ed148a | 17 | extern void pnv_pci_shutdown(void); |
61305a96 BH |
18 | #else |
19 | static inline void pnv_pci_init(void) { } | |
73ed148a | 20 | static inline void pnv_pci_shutdown(void) { } |
61305a96 BH |
21 | #endif |
22 | ||
8eb8ac89 SP |
23 | extern u32 pnv_get_supported_cpuidle_states(void); |
24 | ||
3fafe9c2 BH |
25 | extern void pnv_lpc_init(void); |
26 | ||
9f0fd049 AP |
27 | extern void opal_handle_events(uint64_t events); |
28 | extern void opal_event_shutdown(void); | |
29 | ||
e2186023 ME |
30 | bool cpu_core_split_required(void); |
31 | ||
55190f88 | 32 | #endif /* _POWERNV_H */ |