Benjamin Herrenschmidt | 55190f8 | 2011-09-19 17:44:52 +0000 | [diff] [blame] | 1 | #ifndef _POWERNV_H |
2 | #define _POWERNV_H | ||||
3 | |||||
4 | #ifdef CONFIG_SMP | ||||
5 | extern void pnv_smp_init(void); | ||||
6 | #else | ||||
7 | static inline void pnv_smp_init(void) { } | ||||
8 | #endif | ||||
9 | |||||
Benjamin Herrenschmidt | 61305a9 | 2011-09-19 17:45:05 +0000 | [diff] [blame] | 10 | #ifdef CONFIG_PCI |
11 | extern void pnv_pci_init(void); | ||||
12 | #else | ||||
13 | static inline void pnv_pci_init(void) { } | ||||
14 | #endif | ||||
15 | |||||
Benjamin Herrenschmidt | 55190f8 | 2011-09-19 17:44:52 +0000 | [diff] [blame] | 16 | #endif /* _POWERNV_H */ |