[S390] Vertical cpu management.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-s390 / topology.h
blob8e97b06f298ac5db164872ea50797fdccd5bc0e6
1 #ifndef _ASM_S390_TOPOLOGY_H
2 #define _ASM_S390_TOPOLOGY_H
4 #include <linux/cpumask.h>
6 #define mc_capable() (1)
8 cpumask_t cpu_coregroup_map(unsigned int cpu);
10 int topology_set_cpu_management(int fc);
11 void topology_schedule_update(void);
13 #define POLARIZATION_UNKNWN (-1)
14 #define POLARIZATION_HRZ (0)
15 #define POLARIZATION_VL (1)
16 #define POLARIZATION_VM (2)
17 #define POLARIZATION_VH (3)
19 #ifdef CONFIG_SMP
20 void s390_init_cpu_topology(void);
21 #else
22 static inline void s390_init_cpu_topology(void)
25 #endif
27 #include <asm-generic/topology.h>
29 #endif /* _ASM_S390_TOPOLOGY_H */