]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/powerpc/platforms/powernv/powernv.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / powerpc / platforms / powernv / powernv.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
55190f88
BH
2#ifndef _POWERNV_H
3#define _POWERNV_H
4
5#ifdef CONFIG_SMP
6extern void pnv_smp_init(void);
7#else
8static inline void pnv_smp_init(void) { }
9#endif
10
b746e3e0
NP
11extern void pnv_platform_error_reboot(struct pt_regs *regs, const char *msg) __noreturn;
12
cd15b048
BH
13struct pci_dev;
14
61305a96
BH
15#ifdef CONFIG_PCI
16extern void pnv_pci_init(void);
73ed148a 17extern void pnv_pci_shutdown(void);
61305a96
BH
18#else
19static inline void pnv_pci_init(void) { }
73ed148a 20static inline void pnv_pci_shutdown(void) { }
61305a96
BH
21#endif
22
8eb8ac89
SP
23extern u32 pnv_get_supported_cpuidle_states(void);
24
3fafe9c2
BH
25extern void pnv_lpc_init(void);
26
9f0fd049
AP
27extern void opal_handle_events(uint64_t events);
28extern void opal_event_shutdown(void);
29
e2186023
ME
30bool cpu_core_split_required(void);
31
55190f88 32#endif /* _POWERNV_H */