diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-08-31 10:28:17 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-09-09 20:41:25 +0200 |
commit | b40d8ed4e42c79f8ed1cf345eed0888f4a2f0678 (patch) | |
tree | e7bfe98c1cbf21a871fee2c25640898c7b60bcfb /mm/prio_tree.c | |
parent | 01a08546af311c065f34727787dd0cc8dc0c216f (diff) | |
download | linux-exynos-b40d8ed4e42c79f8ed1cf345eed0888f4a2f0678.tar.gz linux-exynos-b40d8ed4e42c79f8ed1cf345eed0888f4a2f0678.tar.bz2 linux-exynos-b40d8ed4e42c79f8ed1cf345eed0888f4a2f0678.zip |
topology/sysfs: Provide book id and siblings attributes
Create attributes:
/sys/devices/system/cpu/cpuX/topology/book_id
/sys/devices/system/cpu/cpuX/topology/book_siblings
which show the book id and the book siblings of a cpu.
Unlike the attributes for SMT and MC these attributes are only present if
CONFIG_SCHED_BOOK is set. There is no reason to pollute sysfs for every
architecture with unused attributes.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20100831082844.435648457@de.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/prio_tree.c')
0 files changed, 0 insertions, 0 deletions