From: Andi Kleen Date: Mon, 26 Jun 2006 11:56:13 +0000 (+0200) Subject: [PATCH] i386/x86-64: Emulate CPUID4 on AMD X-Git-Tag: v2.6.18-rc1~612^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=240cd6a80642da528bfa382ec2ae4e3cb8991ea7;p=pandora-kernel.git [PATCH] i386/x86-64: Emulate CPUID4 on AMD Intel systems report the cache level data from CPUID 4 in sysfs. Add a CPUID 4 emulation for AMD CPUs to report the same information for them. This allows programs to read this information in a uniform way. The AMD way to report this is less flexible so some assumptions are hardcoded (e.g. no L3) Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed