commit | 04a1541828ea223169eb44a336bfad8ec0dfb46a | [log] [tgz] |
---|---|---|
author | Andreas Herrmann <andreas.herrmann3@amd.com> | Fri Oct 19 10:59:33 2012 +0200 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Tue Nov 13 11:22:29 2012 -0800 |
tree | a670df6305266009a488f52ad763eb5a13767abf | |
parent | 193f3fcb3ab769bab4a2b9fa181eef3e5699a352 [diff] |
x86, cacheinfo: Determine number of cache leafs using CPUID 0x8000001d on AMD CPUID 0x8000001d works quite similar to Intels' CPUID function 4. Use it to determine number of cache leafs. Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> Link: http://lkml.kernel.org/r/20121019085933.GE26718@alberich Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>