summaryrefslogtreecommitdiff
path: root/arch/x86/oprofile
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-01-22 16:01:06 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-26 07:47:57 -0700
commit233c0fce667f9277557638617bcd1d914c555c83 (patch)
treed2f11e618993292e013b1737d79cdb3fc979309e /arch/x86/oprofile
parent4db62486719bfdac5a7d911322aa55975adbc360 (diff)
x86, cacheinfo: Add cache index disable sysfs attrs only to L3 caches
commit 897de50e08937663912c86fb12ad7f708af2386c upstream. 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 <borislav.petkov@amd.com> LKML-Reference: <1264172467-25155-5-git-send-email-bp@amd64.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/x86/oprofile')
0 files changed, 0 insertions, 0 deletions