From: Borislav Petkov Date: Fri, 22 Jan 2010 15:01:06 +0000 (+0100) Subject: x86, cacheinfo: Add cache index disable sysfs attrs only to L3 caches X-Git-Tag: v2.6.34-rc1~257^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=897de50e08937663912c86fb12ad7f708af2386c;p=pandora-kernel.git x86, cacheinfo: Add cache index disable sysfs attrs only to L3 caches The cache_disable_[01] attribute in /sys/devices/system/cpu/cpu?/cache/index[0-3]/ is enabled on all cache levels although only L3 supports it. Add it only to the cache level that actually supports it. Signed-off-by: Borislav Petkov LKML-Reference: <1264172467-25155-5-git-send-email-bp@amd64.org> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed