xref: /linux/arch/powerpc/platforms/powernv/powernv.h (revision 73ed148aea9dc0508be7e30e7a447f55c1b2f378)
155190f88SBenjamin Herrenschmidt #ifndef _POWERNV_H
255190f88SBenjamin Herrenschmidt #define _POWERNV_H
355190f88SBenjamin Herrenschmidt 
455190f88SBenjamin Herrenschmidt #ifdef CONFIG_SMP
555190f88SBenjamin Herrenschmidt extern void pnv_smp_init(void);
655190f88SBenjamin Herrenschmidt #else
755190f88SBenjamin Herrenschmidt static inline void pnv_smp_init(void) { }
855190f88SBenjamin Herrenschmidt #endif
955190f88SBenjamin Herrenschmidt 
1061305a96SBenjamin Herrenschmidt #ifdef CONFIG_PCI
1161305a96SBenjamin Herrenschmidt extern void pnv_pci_init(void);
12*73ed148aSBenjamin Herrenschmidt extern void pnv_pci_shutdown(void);
1361305a96SBenjamin Herrenschmidt #else
1461305a96SBenjamin Herrenschmidt static inline void pnv_pci_init(void) { }
15*73ed148aSBenjamin Herrenschmidt static inline void pnv_pci_shutdown(void) { }
1661305a96SBenjamin Herrenschmidt #endif
1761305a96SBenjamin Herrenschmidt 
1855190f88SBenjamin Herrenschmidt #endif /* _POWERNV_H */
19