From: Heiko Carstens Date: Tue, 31 Aug 2010 08:28:17 +0000 (+0200) Subject: topology/sysfs: Provide book id and siblings attributes X-Git-Tag: v2.6.37-rc1~213^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b40d8ed4e42c79f8ed1cf345eed0888f4a2f0678;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra LKML-Reference: <20100831082844.435648457@de.ibm.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed