From 836e0f8d089637830ce955f19f0816ad9c228751 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 13 May 2022 03:05:05 +0000 Subject: [PATCH] add xen.h for 5.15.39 drm --- sys/dev/pci/drm/include/xen/xen.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sys/dev/pci/drm/include/xen/xen.h diff --git a/sys/dev/pci/drm/include/xen/xen.h b/sys/dev/pci/drm/include/xen/xen.h new file mode 100644 index 00000000000..0483831339d --- /dev/null +++ b/sys/dev/pci/drm/include/xen/xen.h @@ -0,0 +1,12 @@ +/* Public domain. */ + +#ifndef _XEN_XEN_H +#define _XEN_XEN_H + +static inline bool +xen_initial_domain(void) +{ + return false; +} + +#endif -- 2.20.1