add xen.h for 5.15.39 drm
authorjsg <jsg@openbsd.org>
Fri, 13 May 2022 03:05:05 +0000 (03:05 +0000)
committerjsg <jsg@openbsd.org>
Fri, 13 May 2022 03:05:05 +0000 (03:05 +0000)
sys/dev/pci/drm/include/xen/xen.h [new file with mode: 0644]

diff --git a/sys/dev/pci/drm/include/xen/xen.h b/sys/dev/pci/drm/include/xen/xen.h
new file mode 100644 (file)
index 0000000..0483831
--- /dev/null
@@ -0,0 +1,12 @@
+/* Public domain. */
+
+#ifndef _XEN_XEN_H
+#define _XEN_XEN_H
+
+static inline bool
+xen_initial_domain(void)
+{
+       return false;
+}
+
+#endif