blob: 3b28a09a21084faa39b7029a45148fd9fdb1dbe2 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASM_S390_TOPOLOGY_H
2#define _ASM_S390_TOPOLOGY_H
3
Heiko Carstensdbd70fb2008-04-17 07:46:12 +02004#include <linux/cpumask.h>
5
6#define mc_capable() (1)
7
8cpumask_t cpu_coregroup_map(unsigned int cpu);
9
10#ifdef CONFIG_SMP
11void s390_init_cpu_topology(void);
12#else
13static inline void s390_init_cpu_topology(void)
14{
15};
16#endif
17
Linus Torvalds1da177e2005-04-16 15:20:36 -070018#include <asm-generic/topology.h>
19
20#endif /* _ASM_S390_TOPOLOGY_H */