]> xenbits.xensource.com Git - xtf.git/commitdiff
hypercall: Reposition hypercall_xen_version()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 19 Oct 2020 17:34:44 +0000 (18:34 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 6 Nov 2020 14:47:14 +0000 (14:47 +0000)
It has gotten out of order.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
include/xtf/hypercall.h

index 64473e94acffdb52fcef4e2e83c9174eaa16160b..03c49d537ac36259c32465cae5b3b34aaba13bd0 100644 (file)
@@ -88,11 +88,6 @@ static inline long hypercall_memory_op(unsigned int cmd, void *arg)
     return HYPERCALL2(long, __HYPERVISOR_memory_op, cmd, arg);
 }
 
-static inline long hypercall_xen_version(unsigned int cmd, void *arg)
-{
-    return HYPERCALL2(long, __HYPERVISOR_xen_version, cmd, arg);
-}
-
 /*
  * This hypercall is misnamed in the Xen ABI, and actually operates on a
  * linear address, not a virtual address.
@@ -108,6 +103,11 @@ static inline long hypercall_update_va_mapping(
 #endif
 }
 
+static inline long hypercall_xen_version(unsigned int cmd, void *arg)
+{
+    return HYPERCALL2(long, __HYPERVISOR_xen_version, cmd, arg);
+}
+
 static inline long hypercall_grant_table_op(unsigned int cmd, void *args,
                                             unsigned int count)
 {