Full support for Ginger Console
[linux-ginger.git] / arch / s390 / include / asm / topology.h
blob6e7211abd950c8fc3e742c2ee644ca6dcd388dfe
1 #ifndef _ASM_S390_TOPOLOGY_H
2 #define _ASM_S390_TOPOLOGY_H
4 #include <linux/cpumask.h>
6 #define mc_capable() (1)
8 const struct cpumask *cpu_coregroup_mask(unsigned int cpu);
10 extern cpumask_t cpu_core_map[NR_CPUS];
12 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
14 int topology_set_cpu_management(int fc);
15 void topology_schedule_update(void);
17 #define POLARIZATION_UNKNWN (-1)
18 #define POLARIZATION_HRZ (0)
19 #define POLARIZATION_VL (1)
20 #define POLARIZATION_VM (2)
21 #define POLARIZATION_VH (3)
23 #ifdef CONFIG_SMP
24 void s390_init_cpu_topology(void);
25 #else
26 static inline void s390_init_cpu_topology(void)
29 #endif
31 #define SD_MC_INIT SD_CPU_INIT
33 #include <asm-generic/topology.h>
35 #endif /* _ASM_S390_TOPOLOGY_H */