diff options
author | 2022-02-09 12:10:00 -0600 | |
---|---|---|
committer | 2022-04-06 13:02:13 +0200 | |
commit | 950d00558a920227b5703d1fcc4751cfe03853cd (patch) | |
tree | 6ae8f4472649d90a935b7d42b3f26277d898f2cd /include/linux/cc_platform.h | |
parent | x86/boot: Introduce helpers for MSR reads/writes (diff) | |
download | wireguard-linux-950d00558a920227b5703d1fcc4751cfe03853cd.tar.xz wireguard-linux-950d00558a920227b5703d1fcc4751cfe03853cd.zip |
x86/boot: Use MSR read/write helpers instead of inline assembly
Update all C code to use the new boot_rdmsr()/boot_wrmsr() helpers
instead of relying on inline assembly.
Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220307213356.2797205-7-brijesh.singh@amd.com
Diffstat (limited to 'include/linux/cc_platform.h')
0 files changed, 0 insertions, 0 deletions