x86: cache_info: Update calculation of AMD L3 cache indices
commit77e75fc764baf65394f0f1a934ae1cb4e575d48d
authorFrank Arnold <frank.arnold@amd.com>
Wed, 18 May 2011 09:32:10 +0000 (18 11:32 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 Sep 2011 17:29:03 +0000 (12 19:29 +0200)
treed497467ad3e6a2c02e97dcf1e3724c08898acc0a
parentd2946041ff3cbeb0e59db601044025093579bc23
x86: cache_info: Update calculation of AMD L3 cache indices

L3 subcaches 0 and 1 of AMD Family 15h CPUs can have a size of 2MB.
Update the calculation routine for the number of L3 indices to
reflect that.

Signed-off-by: Frank Arnold <frank.arnold@amd.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Rosenfeld Hans <Hans.Rosenfeld@amd.com>
Cc: Herrmann3 Andreas <Andreas.Herrmann3@amd.com>
Cc: Mike Travis <travis@sgi.com>
Cc: Frank Arnold <Frank.Arnold@amd.com>
Link: http://lkml.kernel.org/r/20110726170449.GB32536@aftab
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/intel_cacheinfo.c