diff options
| author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-30 07:38:40 -0400 |
|---|---|---|
| committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-04-30 07:38:45 -0400 |
| commit | d00aa4e7d0129983fc4389c85e15a066eb4e69a9 (patch) | |
| tree | 424089981ed740aa2366e6c5956927e3855de33c /include | |
| parent | edf2209692769d3e461c0351553098bc017c2caf (diff) | |
[S390] Add topology_core_siblings to topology.h
This exposes the core siblings to user space via sysfs.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-s390/topology.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-s390/topology.h b/include/asm-s390/topology.h index 8e97b06f298a..d96c91643458 100644 --- a/include/asm-s390/topology.h +++ b/include/asm-s390/topology.h | |||
| @@ -7,6 +7,10 @@ | |||
| 7 | 7 | ||
| 8 | cpumask_t cpu_coregroup_map(unsigned int cpu); | 8 | cpumask_t cpu_coregroup_map(unsigned int cpu); |
| 9 | 9 | ||
| 10 | extern cpumask_t cpu_core_map[NR_CPUS]; | ||
| 11 | |||
| 12 | #define topology_core_siblings(cpu) (cpu_core_map[cpu]) | ||
| 13 | |||
| 10 | int topology_set_cpu_management(int fc); | 14 | int topology_set_cpu_management(int fc); |
| 11 | void topology_schedule_update(void); | 15 | void topology_schedule_update(void); |
| 12 | 16 | ||
