diff options
Diffstat (limited to 'arch/s390/include/asm/topology.h')
-rw-r--r-- | arch/s390/include/asm/topology.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/include/asm/topology.h b/arch/s390/include/asm/topology.h index bc6f45421c98..fa1bfce10370 100644 --- a/arch/s390/include/asm/topology.h +++ b/arch/s390/include/asm/topology.h | |||
@@ -23,6 +23,7 @@ struct cpu_topology_s390 { | |||
23 | }; | 23 | }; |
24 | 24 | ||
25 | extern struct cpu_topology_s390 cpu_topology[NR_CPUS]; | 25 | extern struct cpu_topology_s390 cpu_topology[NR_CPUS]; |
26 | extern cpumask_t cpus_with_topology; | ||
26 | 27 | ||
27 | #define topology_physical_package_id(cpu) (cpu_topology[cpu].socket_id) | 28 | #define topology_physical_package_id(cpu) (cpu_topology[cpu].socket_id) |
28 | #define topology_thread_id(cpu) (cpu_topology[cpu].thread_id) | 29 | #define topology_thread_id(cpu) (cpu_topology[cpu].thread_id) |
@@ -36,6 +37,7 @@ extern struct cpu_topology_s390 cpu_topology[NR_CPUS]; | |||
36 | 37 | ||
37 | #define mc_capable() 1 | 38 | #define mc_capable() 1 |
38 | 39 | ||
40 | void topology_init_early(void); | ||
39 | int topology_cpu_init(struct cpu *); | 41 | int topology_cpu_init(struct cpu *); |
40 | int topology_set_cpu_management(int fc); | 42 | int topology_set_cpu_management(int fc); |
41 | void topology_schedule_update(void); | 43 | void topology_schedule_update(void); |
@@ -45,6 +47,7 @@ const struct cpumask *cpu_coregroup_mask(int cpu); | |||
45 | 47 | ||
46 | #else /* CONFIG_SCHED_TOPOLOGY */ | 48 | #else /* CONFIG_SCHED_TOPOLOGY */ |
47 | 49 | ||
50 | static inline void topology_init_early(void) { } | ||
48 | static inline void topology_schedule_update(void) { } | 51 | static inline void topology_schedule_update(void) { } |
49 | static inline int topology_cpu_init(struct cpu *cpu) { return 0; } | 52 | static inline int topology_cpu_init(struct cpu *cpu) { return 0; } |
50 | static inline void topology_expect_change(void) { } | 53 | static inline void topology_expect_change(void) { } |