2011-09-20 01:44:52 +08:00
|
|
|
#ifndef _POWERNV_H
|
|
|
|
#define _POWERNV_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_SMP
|
|
|
|
extern void pnv_smp_init(void);
|
|
|
|
#else
|
|
|
|
static inline void pnv_smp_init(void) { }
|
|
|
|
#endif
|
|
|
|
|
2011-09-20 01:45:05 +08:00
|
|
|
#ifdef CONFIG_PCI
|
|
|
|
extern void pnv_pci_init(void);
|
2013-05-10 14:59:18 +08:00
|
|
|
extern void pnv_pci_shutdown(void);
|
2011-09-20 01:45:05 +08:00
|
|
|
#else
|
|
|
|
static inline void pnv_pci_init(void) { }
|
2013-05-10 14:59:18 +08:00
|
|
|
static inline void pnv_pci_shutdown(void) { }
|
2011-09-20 01:45:05 +08:00
|
|
|
#endif
|
|
|
|
|
2013-07-15 11:03:11 +08:00
|
|
|
extern void pnv_lpc_init(void);
|
|
|
|
|
2011-09-20 01:44:52 +08:00
|
|
|
#endif /* _POWERNV_H */
|