]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cpu: remove cpu "capabilities" sysfs attribute
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 25 May 2012 07:39:29 +0000 (09:39 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 30 May 2012 07:07:30 +0000 (09:07 +0200)
commite37299815a2607091874b00da2404f8f5294f8fe
treee6af8730518a4600e56b287e41d4df8a950a5181
parentf4e7d23d2a05da5edc664d29c0a9d4ae88ed1fe6
s390/cpu: remove cpu "capabilities" sysfs attribute

It has been a big mistage to add the capabilities attribute to the
cpus in sysfs:
First the attribute only contains the cpu capability of primary cpus,
which however is not necessarily (or better: unlikely) the type of
cpu the kernel runs on, which is typically an IFL.
In addition all information that is necessary is available in
/proc/sysinfo already. So this attribute partially duplicated
informations.
So programs should look into the sysinfo file to retrieve all
informations they are interested in.

Since with this kernel release also the powersavings cpu attributes
are removed this seems to be a good opportunity to remove another
broken interface.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/processor.h
arch/s390/kernel/smp.c
arch/s390/kernel/sysinfo.c