ARM: amba: Make driver_override output consistent with other buses
[linux/fpc-iii.git] / arch / powerpc / platforms / powernv / powernv.h
blob94f17ab1374bd0bb34f10fc76f3638cb7506df8c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _POWERNV_H
3 #define _POWERNV_H
5 #ifdef CONFIG_SMP
6 extern void pnv_smp_init(void);
7 #else
8 static inline void pnv_smp_init(void) { }
9 #endif
11 extern void pnv_platform_error_reboot(struct pt_regs *regs, const char *msg) __noreturn;
13 struct pci_dev;
15 #ifdef CONFIG_PCI
16 extern void pnv_pci_init(void);
17 extern void pnv_pci_shutdown(void);
18 #else
19 static inline void pnv_pci_init(void) { }
20 static inline void pnv_pci_shutdown(void) { }
21 #endif
23 extern u32 pnv_get_supported_cpuidle_states(void);
25 extern void pnv_lpc_init(void);
27 extern void opal_handle_events(uint64_t events);
28 extern void opal_event_shutdown(void);
30 bool cpu_core_split_required(void);
32 #endif /* _POWERNV_H */