x86: cacheinfo: replace sysfs interface for cache_disable feature
authorMark Langsdorf <mark.langsdorf@amd.com>
Thu, 9 Apr 2009 13:18:49 +0000 (15:18 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Apr 2009 12:21:53 +0000 (14:21 +0200)
commitf8b201fc7110c3673437254e8ba02451461ece0b
tree9d8e6521403d67a15b8b4bd4ce1cf39a32b3f1bc
parentafd9fceec55225d33be878927056a548c2eef26c
x86: cacheinfo: replace sysfs interface for cache_disable feature

Impact: replace sysfs attribute

Current interface violates against "one-value-per-sysfs-attribute
rule". This patch replaces current attribute with two attributes --
one for each L3 Cache Index Disable register.

Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <20090409131849.GJ31527@alberich.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/intel_cacheinfo.c