| commit | 79c5dca3619d6ae15815eec14cd7a43db5f38b47 | [log] [tgz] |
|---|---|---|
| author | H. Peter Anvin <hpa@zytor.com> | Mon Aug 31 13:59:53 2009 -0700 |
| committer | H. Peter Anvin <hpa@zytor.com> | Mon Aug 31 15:14:47 2009 -0700 |
| tree | f2a10abc4862d1812a08dcb44bc5a7a8a78ec57f | |
| parent | 709972b1f6f70535d1fddbe1243a51b90c408a1c [diff] |
x86, msr: CFI annotations, cleanups for msr-reg.S
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>