diff --git a/hypervisor/src/kvm/aarch64/mod.rs b/hypervisor/src/kvm/aarch64/mod.rs index 0dbb23cb8..5c86f7971 100644 --- a/hypervisor/src/kvm/aarch64/mod.rs +++ b/hypervisor/src/kvm/aarch64/mod.rs @@ -26,10 +26,6 @@ pub use kvm_bindings::{ use serde_derive::{Deserialize, Serialize}; pub use {kvm_ioctls::Cap, kvm_ioctls::Kvm}; -// Following are macros that help with getting the ID of a aarch64 core register. -// The core register are represented by the user_pt_regs structure. Look for it in -// arch/arm64/include/uapi/asm/ptrace.h. - // This macro gets the offset of a structure (i.e `str`) member (i.e `field`) without having // an instance of that structure. #[macro_export] @@ -53,6 +49,10 @@ macro_rules! offset__of { }); } +// Following are macros that help with getting the ID of a aarch64 core register. +// The core register are represented by the user_pt_regs structure. Look for it in +// arch/arm64/include/uapi/asm/ptrace.h. + // Get the ID of a core register #[macro_export] macro_rules! arm64_core_reg_id {