diff options
author | Sean Christopherson <[email protected]> | 2024-06-05 16:19:10 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-08-22 11:25:47 -0700 |
commit | beb2e446046f8dd96bbeed3267b5f26bf1926ef9 (patch) | |
tree | 16ab03d0367d84d568556172d31cc1ae3f3a53ba /lib/crypto/mpi/mpiutil.c | |
parent | e7e80b66fb242a63cdfc3d3534cff62a5e293185 (diff) |
x86/cpu: KVM: Move macro to encode PAT value to common header
Move pat/memtype.c's PAT() macro to msr-index.h as PAT_VALUE(), and use it
in KVM to define the default (Power-On / RESET) PAT value instead of open
coding an inscrutable magic number.
No functional change intended.
Reviewed-by: Xiaoyao Li <[email protected]>
Reviewed-by: Kai Huang <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions