x86/cpu: Use RDRAND and RDSEED mnemonics in archrandom.h
authorUros Bizjak <ubizjak@gmail.com>
Fri, 8 May 2020 10:58:17 +0000 (12:58 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 18 May 2020 17:50:47 +0000 (19:50 +0200)
commit3d81b3d1e55a518837c3d1f722c6d93abe34aa85
tree3b2c2f80180aa76855ce696c5c5cadb63bb81602
parent7e32a9dac9926241d56851e1517c9391d39fb48e
x86/cpu: Use RDRAND and RDSEED mnemonics in archrandom.h

Current minimum required version of binutils is 2.23,
which supports RDRAND and RDSEED instruction mnemonics.

Replace the byte-wise specification of RDRAND and
RDSEED with these proper mnemonics.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200508105817.207887-1-ubizjak@gmail.com
arch/x86/include/asm/archrandom.h