]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86, cacheinfo: Cleanup L3 cache index disable support
authorHans Rosenfeld <hans.rosenfeld@amd.com>
Fri, 29 Oct 2010 15:14:32 +0000 (17:14 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 18 Nov 2010 14:53:06 +0000 (15:53 +0100)
commitf658bcfb2607bf0808966a69cf74135ce98e5c2d
treea01f768fb6b49acd701f912f426e1fd6ee4f0f56
parent9653a5c76c8677b05b45b3b999d3b39988d2a064
x86, cacheinfo: Cleanup L3 cache index disable support

Adaptions to the changes of the AMD northbridge caching code: instead
of a bool in each l3 struct, use a flag in amd_northbridges.flags to
indicate L3 cache index disable support; use a pointer to the whole
northbridge instead of the misc device in the l3 struct; simplify the
initialisation; dynamically generate sysfs attribute array.

Signed-off-by: Hans Rosenfeld <hans.rosenfeld@amd.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
arch/x86/include/asm/amd_nb.h
arch/x86/kernel/amd_nb.c
arch/x86/kernel/cpu/intel_cacheinfo.c