aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Mitchell <ehem+freebsd@m5p.com>2021-11-02 05:53:44 +0000
committerRoger Pau Monné <royger@FreeBSD.org>2023-12-15 13:59:25 +0000
commit40e1d9d45f0f6798e404eb7d63afb3976e85cc02 (patch)
treeaa3c83d72da833389a769dc4b72601c91fa4a65a
parent93b7818226cf5270646725805b4a8c17a1ad3761 (diff)
downloadsrc-40e1d9d45f0f6798e404eb7d63afb3976e85cc02.tar.gz
src-40e1d9d45f0f6798e404eb7d63afb3976e85cc02.zip
xen: add SPDX license tags to Xen headers
These are in fact GPLv2 when distributed with the Linux kernel, but the license also allows MIT if distributed separately. Add the markers to avoid interference by automated tools. Differential Revision: https://reviews.freebsd.org/D32796 Reviewed by: royger
-rw-r--r--sys/amd64/include/xen/hypercall.h2
-rw-r--r--sys/i386/include/xen/hypercall.h2
-rw-r--r--sys/xen/gnttab.h2
-rw-r--r--sys/xen/privcmd.h2
4 files changed, 8 insertions, 0 deletions
diff --git a/sys/amd64/include/xen/hypercall.h b/sys/amd64/include/xen/hypercall.h
index f62250679f0f..48d60e345983 100644
--- a/sys/amd64/include/xen/hypercall.h
+++ b/sys/amd64/include/xen/hypercall.h
@@ -1,4 +1,6 @@
/******************************************************************************
+ * SPDX-License-Identifier: MIT OR GPL-2.0-only
+ *
* hypercall.h
*
* FreeBSD-specific hypervisor handling.
diff --git a/sys/i386/include/xen/hypercall.h b/sys/i386/include/xen/hypercall.h
index 94bb42e38a39..2a8b36f0f7cd 100644
--- a/sys/i386/include/xen/hypercall.h
+++ b/sys/i386/include/xen/hypercall.h
@@ -1,4 +1,6 @@
/******************************************************************************
+ * SPDX-License-Identifier: MIT OR GPL-2.0-only
+ *
* hypercall.h
*
* Linux-specific hypervisor handling.
diff --git a/sys/xen/gnttab.h b/sys/xen/gnttab.h
index d85f882c0c4b..583f19128377 100644
--- a/sys/xen/gnttab.h
+++ b/sys/xen/gnttab.h
@@ -1,4 +1,6 @@
/******************************************************************************
+ * SPDX-License-Identifier: MIT OR GPL-2.0-only
+ *
* gnttab.h
*
* Two sets of functionality:
diff --git a/sys/xen/privcmd.h b/sys/xen/privcmd.h
index 8ae1732ae75b..cf620af31f4f 100644
--- a/sys/xen/privcmd.h
+++ b/sys/xen/privcmd.h
@@ -1,4 +1,6 @@
/******************************************************************************
+ * SPDX-License-Identifier: MIT OR GPL-2.0-only
+ *
* privcmd.h
*
* Interface to /proc/xen/privcmd.