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)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 24 May 2011 23:37:27 +0000 (16:37 -0700)
commit7ccafc5f75c87853f3c49845d5a884f2376e03ce
tree21eb295d44de8edfae4c88860e4b51aa1169f696
parent37d8cb5478651b27779b9a80d024c614c452eae3
x86, cpufeature: Update CPU feature RDRND to RDRAND

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>
Cc: <stable@kernel.org> v2.6.36-39
arch/x86/include/asm/cpufeature.h