diff options
| author | Sean Christopherson <[email protected]> | 2021-11-09 01:30:46 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-11-11 10:56:23 -0500 |
| commit | 0cacb80b98f36a5ba67cc0b0efaea98e2a53da4c (patch) | |
| tree | d5d199202725e197ef4a56a79d5d2cff5eed6231 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | 67f4b9969c305be515e47f809ecacfd86bd20a9c (diff) | |
KVM: VMX: Macrofy the MSR bitmap getters and setters
Add builder macros to generate the MSR bitmap helpers to reduce the
amount of copy-paste code, especially with respect to all the magic
numbers needed to calc the correct bit location.
No functional change intended.
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions