From: H. Peter Anvin Date: Mon, 4 Feb 2008 15:47:59 +0000 (+0100) Subject: x86: cpuid: allow querying %ecx-sensitive CPUID levels X-Git-Tag: v2.6.25-rc1~1057^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2347d933b158932cf2b8aeebae3e5cc16b200bd1;p=pandora-kernel.git x86: cpuid: allow querying %ecx-sensitive CPUID levels After /dev/*/cpuid was introduced, Intel changed the semantics of the CPUID instruction to be sentitive to %ecx as well as %eax. This patch allows querying of %ecx-sensitive levels by placing the %ecx value in the upper 32 bits of the file position (lower 32 bits always were used for the %eax value.) Signed-off-by: H. Peter Anvin Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed