diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-03-13 03:33:01 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-04-03 19:37:25 +0300 |
| commit | 7ad02ff1e4a4d1a06483ec839cff26ea232db70f (patch) | |
| tree | 622ab77b1334b24cdb78f54046418e4bbc7079a7 /scripts/basic | |
| parent | 6d71f9349d9bf09bf82309bdc46704b4b6f6b314 (diff) | |
| download | linux-7ad02ff1e4a4d1a06483ec839cff26ea232db70f.tar.xz | |
KVM: SEV: Use PFN_DOWN() to simplify "number of pages" math when pinning memory
Use PFN_DOWN() instead of open coded equivalents in sev_pin_memory() to
simplify the code and make it easier to read.
No functional change intended (verified before and after versions of the
generated code are identical).
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Tested-by: Liam Merwick <liam.merwick@oracle.com>
Link: https://patch.msgid.link/20260313003302.3136111-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
