x86, cpufeature: Update CPU feature RDRND to RDRAND
authorKees Cook <kees.cook@canonical.com>
Tue, 24 May 2011 23:29:26 +0000 (16:29 -0700)
committerSteve Conklin <sconklin@canonical.com>
Fri, 15 Jul 2011 17:21:01 +0000 (12:21 -0500)
commit1e095c21116d667f3d5ec9188fc2b09c8502f52c
tree68ffa478d31accb5d2ce9f906462d9bcb19a5a78
parent346ac04a5e66b217a4dbbc131c33d14a744fd615
x86, cpufeature: Update CPU feature RDRND to RDRAND

BugLink: http://bugs.launchpad.net/bugs/793702

commit 7ccafc5f75c87853f3c49845d5a884f2376e03ce upstream.

The Intel manual changed the name of the CPUID bit to match the
instruction name. We should follow suit for sanity's sake. (See Intel SDM
Volume 2, Table 3-20 "Feature Information Returned in the ECX Register".)

[ hpa: we can only do this at this time because there are currently no CPUs
  with this feature on the market, hence this is pre-hardware enabling.
  However, Cc:'ing stable so that stable can present a consistent ABI. ]

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Link: http://lkml.kernel.org/r/20110524232926.GA27728@outflux.net
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/x86/include/asm/cpufeature.h