From 40e1d9d45f0f6798e404eb7d63afb3976e85cc02 Mon Sep 17 00:00:00 2001 From: Elliott Mitchell Date: Mon, 1 Nov 2021 22:53:44 -0700 Subject: [PATCH] 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 --- sys/amd64/include/xen/hypercall.h | 2 ++ sys/i386/include/xen/hypercall.h | 2 ++ sys/xen/gnttab.h | 2 ++ sys/xen/privcmd.h | 2 ++ 4 files changed, 8 insertions(+) diff --git a/sys/amd64/include/xen/hypercall.h b/sys/amd64/include/xen/hypercall.h index f62250679f0..48d60e34598 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 94bb42e38a3..2a8b36f0f7c 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 d85f882c0c4..583f1912837 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 8ae1732ae75..cf620af31f4 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.