| /* SPDX-License-Identifier: GPL-2.0 */ |
| * There's various hacks scattered throughout the generic powerpc arch code |
| * that needs to call into powernv platform stuff. The prototypes for those |
| * functions are in asm/powernv.h |
| extern void pnv_smp_init(void); |
| static inline void pnv_smp_init(void) { } |
| extern void pnv_platform_error_reboot(struct pt_regs *regs, const char *msg) __noreturn; |
| extern void pnv_pci_init(void); |
| extern void pnv_pci_shutdown(void); |
| static inline void pnv_pci_init(void) { } |
| static inline void pnv_pci_shutdown(void) { } |
| extern u32 pnv_get_supported_cpuidle_states(void); |
| extern void pnv_lpc_init(void); |
| extern void opal_handle_events(void); |
| extern bool opal_have_pending_events(void); |
| extern void opal_event_shutdown(void); |
| bool cpu_core_split_required(void); |
| ssize_t memcons_copy(struct memcons *mc, char *to, loff_t pos, size_t count); |
| u32 memcons_get_size(struct memcons *mc); |
| struct memcons *memcons_init(struct device_node *node, const char *mc_prop_name); |