Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_S390_TOPOLOGY_H |
| 2 | #define _ASM_S390_TOPOLOGY_H |
| 3 | |
Heiko Carstens | dbd70fb | 2008-04-17 07:46:12 +0200 | [diff] [blame^] | 4 | #include <linux/cpumask.h> |
| 5 | |
| 6 | #define mc_capable() (1) |
| 7 | |
| 8 | cpumask_t cpu_coregroup_map(unsigned int cpu); |
| 9 | |
| 10 | #ifdef CONFIG_SMP |
| 11 | void s390_init_cpu_topology(void); |
| 12 | #else |
| 13 | static inline void s390_init_cpu_topology(void) |
| 14 | { |
| 15 | }; |
| 16 | #endif |
| 17 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | #include <asm-generic/topology.h> |
| 19 | |
| 20 | #endif /* _ASM_S390_TOPOLOGY_H */ |