• H. Peter Anvin's avatar
    x86, msr: CFI annotations, cleanups for msr-reg.S · 79c5dca3
    H. Peter Anvin authored
    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: default avatarH. Peter Anvin <hpa@zytor.com>
    Cc: Borislav Petkov <petkovbb@gmail.com>
    LKML-Reference: <1251705011-18636-1-git-send-email-petkovbb@gmail.com>
    79c5dca3
msr-reg.S 1.88 KB