[PATCH 2/4] x86, cacheinfo: Determine number of cache leafs using CPUID 0x8000001d on AMD

2012-10-19 Thread Andreas Herrmann
CPUID 0x801d works quite similar to Intels' CPUID function 4. Use it to determine number of cache leafs. Signed-off-by: Andreas Herrmann --- arch/x86/include/asm/processor.h |2 +- arch/x86/kernel/cpu/amd.c |7 +-- arch/x86/kernel/cpu/intel_cacheinfo.c | 28

[PATCH 2/4] x86, cacheinfo: Determine number of cache leafs using CPUID 0x8000001d on AMD

2012-10-19 Thread Andreas Herrmann
CPUID 0x801d works quite similar to Intels' CPUID function 4. Use it to determine number of cache leafs. Signed-off-by: Andreas Herrmann andreas.herrma...@amd.com --- arch/x86/include/asm/processor.h |2 +- arch/x86/kernel/cpu/amd.c |7 +--