diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-30 13:38:40 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-04-30 13:38:45 +0200 |
commit | d00aa4e7d0129983fc4389c85e15a066eb4e69a9 (patch) | |
tree | 424089981ed740aa2366e6c5956927e3855de33c /include | |
parent | edf2209692769d3e461c0351553098bc017c2caf (diff) | |
download | op-kernel-dev-d00aa4e7d0129983fc4389c85e15a066eb4e69a9.zip op-kernel-dev-d00aa4e7d0129983fc4389c85e15a066eb4e69a9.tar.gz |
[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 8e97b06..d96c916 100644 --- a/include/asm-s390/topology.h +++ b/include/asm-s390/topology.h @@ -7,6 +7,10 @@ cpumask_t cpu_coregroup_map(unsigned int cpu); +extern cpumask_t cpu_core_map[NR_CPUS]; + +#define topology_core_siblings(cpu) (cpu_core_map[cpu]) + int topology_set_cpu_management(int fc); void topology_schedule_update(void); |