Go to the documentation of this file. 1 #ifndef _ASM_S390_TOPOLOGY_H
2 #define _ASM_S390_TOPOLOGY_H
9 #ifdef CONFIG_SCHED_BOOK
12 #define topology_physical_package_id(cpu) (cpu_socket_id[cpu])
19 return &cpu_core_map[
cpu];
22 #define topology_core_id(cpu) (cpu_core_id[cpu])
23 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
24 #define mc_capable() (1)
29 static inline const struct cpumask *cpu_book_mask(
int cpu)
31 return &cpu_book_map[
cpu];
34 #define topology_book_id(cpu) (cpu_book_id[cpu])
35 #define topology_book_cpumask(cpu) (&cpu_book_map[cpu])
51 #define POLARIZATION_UNKNOWN (-1)
52 #define POLARIZATION_HRZ (0)
53 #define POLARIZATION_VL (1)
54 #define POLARIZATION_VM (2)
55 #define POLARIZATION_VH (3)
57 #ifdef CONFIG_SCHED_BOOK
65 #define SD_BOOK_INIT SD_CPU_INIT