x86, msr: CFI annotations, cleanups for msr-reg.S
authorH. Peter Anvin <hpa@zytor.com>
Mon, 31 Aug 2009 20:59:53 +0000 (13:59 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 31 Aug 2009 22:14:47 +0000 (15:14 -0700)
Add CFI annotations for native_{rd,wr}msr_safe_regs().
Simplify the 64-bit implementation: we don't allow the upper half
registers to be set, and so we can use them to carry state across the
operation.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Borislav Petkov <petkovbb@gmail.com>
LKML-Reference: <1251705011-18636-1-git-send-email-petkovbb@gmail.com>


No differences found