diff options
| author | Fuad Tabba <tabba@google.com> | 2026-01-09 08:22:17 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-01-15 13:39:53 +0000 |
| commit | de00d07321cf3f182762de2308c08062d5b824c0 (patch) | |
| tree | 871ad1a3aa337d185633cbb64525e6fc85376a54 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 582b39463f1c0774e0b3cb5be2118e8564b7941e (diff) | |
KVM: selftests: Move page_align() to shared header
To avoid code duplication, move page_align() to the shared `kvm_util.h`
header file. Rename it to vm_page_align(), to make it clear that the
alignment is done with respect to the guest's base page size.
No functional change intended.
Reviewed-by: Andrew Jones <andrew.jones@linux.dev>
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260109082218.3236580-5-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
