From 6221b6f8a18be5d8b9025817090f1cc95b800108 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Mon, 15 Nov 2021 17:30:55 +0000 Subject: [PATCH] hypervisor: aarch64: move a comment to where it should be No functional change. Signed-off-by: Wei Liu --- hypervisor/src/kvm/aarch64/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 {