Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: c3b46c73264b03000d1e18b22f5caf63332547c9 authored by Linus Torvalds on 18 April 2016, 02:13:32 UTC
Linux 4.6-rc4
Tip revision: c3b46c7
powernv.h
#ifndef _POWERNV_H
#define _POWERNV_H

#ifdef CONFIG_SMP
extern void pnv_smp_init(void);
#else
static inline void pnv_smp_init(void) { }
#endif

struct pci_dev;

#ifdef CONFIG_PCI
extern void pnv_pci_init(void);
extern void pnv_pci_shutdown(void);
#else
static inline void pnv_pci_init(void) { }
static inline void pnv_pci_shutdown(void) { }
#endif

extern u32 pnv_get_supported_cpuidle_states(void);

extern void pnv_lpc_init(void);

extern void opal_handle_events(uint64_t events);
extern void opal_event_shutdown(void);

bool cpu_core_split_required(void);

#endif /* _POWERNV_H */
back to top