aboutsummaryrefslogtreecommitdiff
path: root/sys/xen
diff options
context:
space:
mode:
authorElliott Mitchell <ehem+freebsd@m5p.com>2021-04-17 01:49:25 +0000
committerRoger Pau Monné <royger@FreeBSD.org>2021-07-28 15:27:04 +0000
commitc89f1f12b07be43df17cde53a0dcaf4f3a271eba (patch)
tree5d2a9482aac267cb7eb68ce75795664259403f0c /sys/xen
parente627e25d761f8a11e9e5881e804fae5793404947 (diff)
Diffstat (limited to 'sys/xen')
-rw-r--r--sys/xen/xen-os.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/xen/xen-os.h b/sys/xen/xen-os.h
index fdec54936b0d..3b963bd20f7a 100644
--- a/sys/xen/xen-os.h
+++ b/sys/xen/xen-os.h
@@ -71,12 +71,6 @@ xen_get_console_evtchn(void)
return (hvm_get_parameter(HVM_PARAM_CONSOLE_EVTCHN));
}
-#endif
-
-#include <machine/xen/xen-os.h>
-
-/* Everything below this point is not included by assembler (.S) files. */
-#ifndef __ASSEMBLY__
extern shared_info_t *HYPERVISOR_shared_info;
@@ -117,6 +111,12 @@ xen_initial_domain(void)
return (xen_domain() && (hvm_start_flags & SIF_INITDOMAIN) != 0);
}
+#endif
+
+#include <machine/xen/xen-os.h>
+
+/* Everything below this point is not included by assembler (.S) files. */
+#ifndef __ASSEMBLY__
/*
* Based on ofed/include/linux/bitops.h