diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-05-25 09:39:29 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-05-30 09:07:30 +0200 |
commit | b9e3f776c811cc0647c7360844714b6a9b5fd0ef (patch) | |
tree | e6af8730518a4600e56b287e41d4df8a950a5181 /arch/s390/include | |
parent | 061da3dfb291570e780169918933ba51c2b7d554 (diff) | |
download | linux-stable-b9e3f776c811cc0647c7360844714b6a9b5fd0ef.tar.gz linux-stable-b9e3f776c811cc0647c7360844714b6a9b5fd0ef.tar.bz2 linux-stable-b9e3f776c811cc0647c7360844714b6a9b5fd0ef.zip |
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>
Diffstat (limited to 'arch/s390/include')
-rw-r--r-- | arch/s390/include/asm/processor.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h index 62e0d9f9a29a..a6951a7e9aea 100644 --- a/arch/s390/include/asm/processor.h +++ b/arch/s390/include/asm/processor.h @@ -32,7 +32,6 @@ static inline void get_cpu_id(struct cpuid *ptr) } extern void s390_adjust_jiffies(void); -extern int get_cpu_capability(unsigned int *); extern const struct seq_operations cpuinfo_op; extern int sysctl_ieee_emulation_warnings; |