diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-06-04 04:11:32 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-19 11:09:53 -0400 |
commit | 20c8ccb1975b8d5639789d1025ad6ada38bd6f48 (patch) | |
tree | daafa0a015cf20ce126a1981e7f6f1816e0f83d5 | |
parent | 0c94efabe00ed97415c48361b5fecaa2f2117d57 (diff) |
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 499
Based on 1 normalized pattern(s):
this work is licensed under the terms of the gnu gpl version 2 see
the copying file in the top level directory
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 35 file(s).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Enrico Weigelt <info@metux.net>
Reviewed-by: Allison Randal <allison@lohutok.net>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081206.797835076@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
35 files changed, 35 insertions, 119 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 450d69a1e6fa..26d1eb83f72a 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -1,11 +1,8 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Kernel-based Virtual Machine driver for Linux | 3 | * Kernel-based Virtual Machine driver for Linux |
3 | * | 4 | * |
4 | * This header defines architecture specific interfaces, x86 version | 5 | * This header defines architecture specific interfaces, x86 version |
5 | * | ||
6 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
7 | * the COPYING file in the top-level directory. | ||
8 | * | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #ifndef _ASM_X86_KVM_HOST_H | 8 | #ifndef _ASM_X86_KVM_HOST_H |
diff --git a/arch/x86/include/asm/virtext.h b/arch/x86/include/asm/virtext.h index 1fc7a0d1e877..9aad0e0876fb 100644 --- a/arch/x86/include/asm/virtext.h +++ b/arch/x86/include/asm/virtext.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* CPU virtualization extensions handling | 2 | /* CPU virtualization extensions handling |
2 | * | 3 | * |
3 | * This should carry the code for handling CPU virtualization extensions | 4 | * This should carry the code for handling CPU virtualization extensions |
@@ -8,9 +9,6 @@ | |||
8 | * Copyright (C) 2008, Red Hat Inc. | 9 | * Copyright (C) 2008, Red Hat Inc. |
9 | * | 10 | * |
10 | * Contains code from KVM, Copyright (C) 2006 Qumranet, Inc. | 11 | * Contains code from KVM, Copyright (C) 2006 Qumranet, Inc. |
11 | * | ||
12 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
13 | * the COPYING file in the top-level directory. | ||
14 | */ | 12 | */ |
15 | #ifndef _ASM_X86_VIRTEX_H | 13 | #ifndef _ASM_X86_VIRTEX_H |
16 | #define _ASM_X86_VIRTEX_H | 14 | #define _ASM_X86_VIRTEX_H |
diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index e18a9f9f65b5..4992e7c99588 100644 --- a/arch/x86/kvm/cpuid.c +++ b/arch/x86/kvm/cpuid.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Kernel-based Virtual Machine driver for Linux | 3 | * Kernel-based Virtual Machine driver for Linux |
3 | * cpuid support routines | 4 | * cpuid support routines |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * Copyright 2011 Red Hat, Inc. and/or its affiliates. | 8 | * Copyright 2011 Red Hat, Inc. and/or its affiliates. |
8 | * Copyright IBM Corporation, 2008 | 9 | * Copyright IBM Corporation, 2008 |
9 | * | ||
10 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
11 | * the COPYING file in the top-level directory. | ||
12 | * | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #include <linux/kvm_host.h> | 12 | #include <linux/kvm_host.h> |
diff --git a/arch/x86/kvm/debugfs.c b/arch/x86/kvm/debugfs.c index a2f3432ce090..329361b69d5e 100644 --- a/arch/x86/kvm/debugfs.c +++ b/arch/x86/kvm/debugfs.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Kernel-based Virtual Machine driver for Linux | 3 | * Kernel-based Virtual Machine driver for Linux |
3 | * | 4 | * |
4 | * Copyright 2016 Red Hat, Inc. and/or its affiliates. | 5 | * Copyright 2016 Red Hat, Inc. and/or its affiliates. |
5 | * | ||
6 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
7 | * the COPYING file in the top-level directory. | ||
8 | * | ||
9 | */ | 6 | */ |
10 | #include <linux/kvm_host.h> | 7 | #include <linux/kvm_host.h> |
11 | #include <linux/debugfs.h> | 8 | #include <linux/debugfs.h> |
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index d0d5dd44b4f4..4a387a235424 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /****************************************************************************** | 2 | /****************************************************************************** |
2 | * emulate.c | 3 | * emulate.c |
3 | * | 4 | * |
@@ -14,9 +15,6 @@ | |||
14 | * Avi Kivity <avi@qumranet.com> | 15 | * Avi Kivity <avi@qumranet.com> |
15 | * Yaniv Kamay <yaniv@qumranet.com> | 16 | * Yaniv Kamay <yaniv@qumranet.com> |
16 | * | 17 | * |
17 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
18 | * the COPYING file in the top-level directory. | ||
19 | * | ||
20 | * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4 | 18 | * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4 |
21 | */ | 19 | */ |
22 | 20 | ||
diff --git a/arch/x86/kvm/hyperv.c b/arch/x86/kvm/hyperv.c index 8ca4b39918e0..a39e38f13029 100644 --- a/arch/x86/kvm/hyperv.c +++ b/arch/x86/kvm/hyperv.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * KVM Microsoft Hyper-V emulation | 3 | * KVM Microsoft Hyper-V emulation |
3 | * | 4 | * |
@@ -15,10 +16,6 @@ | |||
15 | * Amit Shah <amit.shah@qumranet.com> | 16 | * Amit Shah <amit.shah@qumranet.com> |
16 | * Ben-Ami Yassour <benami@il.ibm.com> | 17 | * Ben-Ami Yassour <benami@il.ibm.com> |
17 | * Andrey Smetanin <asmetanin@virtuozzo.com> | 18 | * Andrey Smetanin <asmetanin@virtuozzo.com> |
18 | * | ||
19 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
20 | * the COPYING file in the top-level directory. | ||
21 | * | ||
22 | */ | 19 | */ |
23 | 20 | ||
24 | #include "x86.h" | 21 | #include "x86.h" |
diff --git a/arch/x86/kvm/hyperv.h b/arch/x86/kvm/hyperv.h index fd7cf13a2144..757cb578101c 100644 --- a/arch/x86/kvm/hyperv.h +++ b/arch/x86/kvm/hyperv.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * KVM Microsoft Hyper-V emulation | 3 | * KVM Microsoft Hyper-V emulation |
3 | * | 4 | * |
@@ -15,10 +16,6 @@ | |||
15 | * Amit Shah <amit.shah@qumranet.com> | 16 | * Amit Shah <amit.shah@qumranet.com> |
16 | * Ben-Ami Yassour <benami@il.ibm.com> | 17 | * Ben-Ami Yassour <benami@il.ibm.com> |
17 | * Andrey Smetanin <asmetanin@virtuozzo.com> | 18 | * Andrey Smetanin <asmetanin@virtuozzo.com> |
18 | * | ||
19 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
20 | * the COPYING file in the top-level directory. | ||
21 | * | ||
22 | */ | 19 | */ |
23 | 20 | ||
24 | #ifndef __ARCH_X86_KVM_HYPERV_H__ | 21 | #ifndef __ARCH_X86_KVM_HYPERV_H__ |
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index 4924f83ed4f3..a21c440ff356 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | 2 | ||
2 | /* | 3 | /* |
3 | * Local APIC virtualization | 4 | * Local APIC virtualization |
@@ -13,9 +14,6 @@ | |||
13 | * Yaozu (Eddie) Dong <eddie.dong@intel.com> | 14 | * Yaozu (Eddie) Dong <eddie.dong@intel.com> |
14 | * | 15 | * |
15 | * Based on Xen 3.1 code, Copyright (c) 2004, Intel Corporation. | 16 | * Based on Xen 3.1 code, Copyright (c) 2004, Intel Corporation. |
16 | * | ||
17 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
18 | * the COPYING file in the top-level directory. | ||
19 | */ | 17 | */ |
20 | 18 | ||
21 | #include <linux/kvm_host.h> | 19 | #include <linux/kvm_host.h> |
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 1e9ba81accba..fd27ab5fde5b 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Kernel-based Virtual Machine driver for Linux | 3 | * Kernel-based Virtual Machine driver for Linux |
3 | * | 4 | * |
@@ -12,10 +13,6 @@ | |||
12 | * Authors: | 13 | * Authors: |
13 | * Yaniv Kamay <yaniv@qumranet.com> | 14 | * Yaniv Kamay <yaniv@qumranet.com> |
14 | * Avi Kivity <avi@qumranet.com> | 15 | * Avi Kivity <avi@qumranet.com> |
15 | * | ||
16 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
17 | * the COPYING file in the top-level directory. | ||
18 | * | ||
19 | */ | 16 | */ |
20 | 17 | ||
21 | #include "irq.h" | 18 | #include "irq.h" |
diff --git a/arch/x86/kvm/mmu_audit.c b/arch/x86/kvm/mmu_audit.c index abac7e208853..ca39f62aabc6 100644 --- a/arch/x86/kvm/mmu_audit.c +++ b/arch/x86/kvm/mmu_audit.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * mmu_audit.c: | 3 | * mmu_audit.c: |
3 | * | 4 | * |
@@ -11,10 +12,6 @@ | |||
11 | * Avi Kivity <avi@qumranet.com> | 12 | * Avi Kivity <avi@qumranet.com> |
12 | * Marcelo Tosatti <mtosatti@redhat.com> | 13 | * Marcelo Tosatti <mtosatti@redhat.com> |
13 | * Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 14 | * Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> |
14 | * | ||
15 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
16 | * the COPYING file in the top-level directory. | ||
17 | * | ||
18 | */ | 15 | */ |
19 | 16 | ||
20 | #include <linux/ratelimit.h> | 17 | #include <linux/ratelimit.h> |
diff --git a/arch/x86/kvm/mtrr.c b/arch/x86/kvm/mtrr.c index 9f72cc427158..25ce3edd1872 100644 --- a/arch/x86/kvm/mtrr.c +++ b/arch/x86/kvm/mtrr.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * vMTRR implementation | 3 | * vMTRR implementation |
3 | * | 4 | * |
@@ -11,9 +12,6 @@ | |||
11 | * Marcelo Tosatti <mtosatti@redhat.com> | 12 | * Marcelo Tosatti <mtosatti@redhat.com> |
12 | * Paolo Bonzini <pbonzini@redhat.com> | 13 | * Paolo Bonzini <pbonzini@redhat.com> |
13 | * Xiao Guangrong <guangrong.xiao@linux.intel.com> | 14 | * Xiao Guangrong <guangrong.xiao@linux.intel.com> |
14 | * | ||
15 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
16 | * the COPYING file in the top-level directory. | ||
17 | */ | 15 | */ |
18 | 16 | ||
19 | #include <linux/kvm_host.h> | 17 | #include <linux/kvm_host.h> |
diff --git a/arch/x86/kvm/page_track.c b/arch/x86/kvm/page_track.c index fd04d462fdae..3521e2d176f2 100644 --- a/arch/x86/kvm/page_track.c +++ b/arch/x86/kvm/page_track.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Support KVM gust page tracking | 3 | * Support KVM gust page tracking |
3 | * | 4 | * |
@@ -8,9 +9,6 @@ | |||
8 | * | 9 | * |
9 | * Author: | 10 | * Author: |
10 | * Xiao Guangrong <guangrong.xiao@linux.intel.com> | 11 | * Xiao Guangrong <guangrong.xiao@linux.intel.com> |
11 | * | ||
12 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
13 | * the COPYING file in the top-level directory. | ||
14 | */ | 12 | */ |
15 | 13 | ||
16 | #include <linux/kvm_host.h> | 14 | #include <linux/kvm_host.h> |
diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h index 367a47df4ba0..d583bcd119fc 100644 --- a/arch/x86/kvm/paging_tmpl.h +++ b/arch/x86/kvm/paging_tmpl.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Kernel-based Virtual Machine driver for Linux | 3 | * Kernel-based Virtual Machine driver for Linux |
3 | * | 4 | * |
@@ -12,10 +13,6 @@ | |||
12 | * Authors: | 13 | * Authors: |
13 | * Yaniv Kamay <yaniv@qumranet.com> | 14 | * Yaniv Kamay <yaniv@qumranet.com> |
14 | * Avi Kivity <avi@qumranet.com> | 15 | * Avi Kivity <avi@qumranet.com> |
15 | * | ||
16 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
17 | * the COPYING file in the top-level directory. | ||
18 | * | ||
19 | */ | 16 | */ |
20 | 17 | ||
21 | /* | 18 | /* |
diff --git a/arch/x86/kvm/pmu.c b/arch/x86/kvm/pmu.c index dd745b58ffd8..132d149494d6 100644 --- a/arch/x86/kvm/pmu.c +++ b/arch/x86/kvm/pmu.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Kernel-based Virtual Machine -- Performance Monitoring Unit support | 3 | * Kernel-based Virtual Machine -- Performance Monitoring Unit support |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * Avi Kivity <avi@redhat.com> | 8 | * Avi Kivity <avi@redhat.com> |
8 | * Gleb Natapov <gleb@redhat.com> | 9 | * Gleb Natapov <gleb@redhat.com> |
9 | * Wei Huang <wei@redhat.com> | 10 | * Wei Huang <wei@redhat.com> |
10 | * | ||
11 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
12 | * the COPYING file in the top-level directory. | ||
13 | * | ||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #include <linux/types.h> | 13 | #include <linux/types.h> |
diff --git a/arch/x86/kvm/pmu_amd.c b/arch/x86/kvm/pmu_amd.c index d3118088f1cd..c8388389a3b0 100644 --- a/arch/x86/kvm/pmu_amd.c +++ b/arch/x86/kvm/pmu_amd.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * KVM PMU support for AMD | 3 | * KVM PMU support for AMD |
3 | * | 4 | * |
@@ -6,9 +7,6 @@ | |||
6 | * Author: | 7 | * Author: |
7 | * Wei Huang <wei@redhat.com> | 8 | * Wei Huang <wei@redhat.com> |
8 | * | 9 | * |
9 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
10 | * the COPYING file in the top-level directory. | ||
11 | * | ||
12 | * Implementation is based on pmu_intel.c file | 10 | * Implementation is based on pmu_intel.c file |
13 | */ | 11 | */ |
14 | #include <linux/types.h> | 12 | #include <linux/types.h> |
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 735b8c01895e..48c865a4e5dd 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Kernel-based Virtual Machine driver for Linux | 3 | * Kernel-based Virtual Machine driver for Linux |
3 | * | 4 | * |
@@ -9,10 +10,6 @@ | |||
9 | * Authors: | 10 | * Authors: |
10 | * Yaniv Kamay <yaniv@qumranet.com> | 11 | * Yaniv Kamay <yaniv@qumranet.com> |
11 | * Avi Kivity <avi@qumranet.com> | 12 | * Avi Kivity <avi@qumranet.com> |
12 | * | ||
13 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
14 | * the COPYING file in the top-level directory. | ||
15 | * | ||
16 | */ | 13 | */ |
17 | 14 | ||
18 | #define pr_fmt(fmt) "SVM: " fmt | 15 | #define pr_fmt(fmt) "SVM: " fmt |
diff --git a/arch/x86/kvm/vmx/pmu_intel.c b/arch/x86/kvm/vmx/pmu_intel.c index a99613a060dd..68d231d49c7a 100644 --- a/arch/x86/kvm/vmx/pmu_intel.c +++ b/arch/x86/kvm/vmx/pmu_intel.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * KVM PMU support for Intel CPUs | 3 | * KVM PMU support for Intel CPUs |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * Authors: | 7 | * Authors: |
7 | * Avi Kivity <avi@redhat.com> | 8 | * Avi Kivity <avi@redhat.com> |
8 | * Gleb Natapov <gleb@redhat.com> | 9 | * Gleb Natapov <gleb@redhat.com> |
9 | * | ||
10 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
11 | * the COPYING file in the top-level directory. | ||
12 | * | ||
13 | */ | 10 | */ |
14 | #include <linux/types.h> | 11 | #include <linux/types.h> |
15 | #include <linux/kvm_host.h> | 12 | #include <linux/kvm_host.h> |
diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c index b93e36ddee5e..d98eac371c0a 100644 --- a/arch/x86/kvm/vmx/vmx.c +++ b/arch/x86/kvm/vmx/vmx.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Kernel-based Virtual Machine driver for Linux | 3 | * Kernel-based Virtual Machine driver for Linux |
3 | * | 4 | * |
@@ -10,10 +11,6 @@ | |||
10 | * Authors: | 11 | * Authors: |
11 | * Avi Kivity <avi@qumranet.com> | 12 | * Avi Kivity <avi@qumranet.com> |
12 | * Yaniv Kamay <yaniv@qumranet.com> | 13 | * Yaniv Kamay <yaniv@qumranet.com> |
13 | * | ||
14 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
15 | * the COPYING file in the top-level directory. | ||
16 | * | ||
17 | */ | 14 | */ |
18 | 15 | ||
19 | #include <linux/frame.h> | 16 | #include <linux/frame.h> |
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 83aefd759846..9857992d4e58 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Kernel-based Virtual Machine driver for Linux | 3 | * Kernel-based Virtual Machine driver for Linux |
3 | * | 4 | * |
@@ -13,10 +14,6 @@ | |||
13 | * Yaniv Kamay <yaniv@qumranet.com> | 14 | * Yaniv Kamay <yaniv@qumranet.com> |
14 | * Amit Shah <amit.shah@qumranet.com> | 15 | * Amit Shah <amit.shah@qumranet.com> |
15 | * Ben-Ami Yassour <benami@il.ibm.com> | 16 | * Ben-Ami Yassour <benami@il.ibm.com> |
16 | * | ||
17 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
18 | * the COPYING file in the top-level directory. | ||
19 | * | ||
20 | */ | 17 | */ |
21 | 18 | ||
22 | #include <linux/kvm_host.h> | 19 | #include <linux/kvm_host.h> |
diff --git a/fs/squashfs/decompressor_multi.c b/fs/squashfs/decompressor_multi.c index d6008a636479..c181dee235bb 100644 --- a/fs/squashfs/decompressor_multi.c +++ b/fs/squashfs/decompressor_multi.c | |||
@@ -1,9 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2013 | 3 | * Copyright (c) 2013 |
3 | * Minchan Kim <minchan@kernel.org> | 4 | * Minchan Kim <minchan@kernel.org> |
4 | * | ||
5 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
6 | * the COPYING file in the top-level directory. | ||
7 | */ | 5 | */ |
8 | #include <linux/types.h> | 6 | #include <linux/types.h> |
9 | #include <linux/mutex.h> | 7 | #include <linux/mutex.h> |
diff --git a/fs/squashfs/decompressor_multi_percpu.c b/fs/squashfs/decompressor_multi_percpu.c index 23a9c28ad8ea..2a2a2d106440 100644 --- a/fs/squashfs/decompressor_multi_percpu.c +++ b/fs/squashfs/decompressor_multi_percpu.c | |||
@@ -1,9 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2013 | 3 | * Copyright (c) 2013 |
3 | * Phillip Lougher <phillip@squashfs.org.uk> | 4 | * Phillip Lougher <phillip@squashfs.org.uk> |
4 | * | ||
5 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
6 | * the COPYING file in the top-level directory. | ||
7 | */ | 5 | */ |
8 | 6 | ||
9 | #include <linux/types.h> | 7 | #include <linux/types.h> |
diff --git a/fs/squashfs/decompressor_single.c b/fs/squashfs/decompressor_single.c index a6c75929a00e..550c3e592032 100644 --- a/fs/squashfs/decompressor_single.c +++ b/fs/squashfs/decompressor_single.c | |||
@@ -1,9 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2013 | 3 | * Copyright (c) 2013 |
3 | * Phillip Lougher <phillip@squashfs.org.uk> | 4 | * Phillip Lougher <phillip@squashfs.org.uk> |
4 | * | ||
5 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
6 | * the COPYING file in the top-level directory. | ||
7 | */ | 5 | */ |
8 | 6 | ||
9 | #include <linux/types.h> | 7 | #include <linux/types.h> |
diff --git a/fs/squashfs/file_cache.c b/fs/squashfs/file_cache.c index a9ba8d96776a..54c17b7c85fd 100644 --- a/fs/squashfs/file_cache.c +++ b/fs/squashfs/file_cache.c | |||
@@ -1,9 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2013 | 3 | * Copyright (c) 2013 |
3 | * Phillip Lougher <phillip@squashfs.org.uk> | 4 | * Phillip Lougher <phillip@squashfs.org.uk> |
4 | * | ||
5 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
6 | * the COPYING file in the top-level directory. | ||
7 | */ | 5 | */ |
8 | 6 | ||
9 | #include <linux/fs.h> | 7 | #include <linux/fs.h> |
diff --git a/fs/squashfs/file_direct.c b/fs/squashfs/file_direct.c index 80db1b86a27c..a4894cc59447 100644 --- a/fs/squashfs/file_direct.c +++ b/fs/squashfs/file_direct.c | |||
@@ -1,9 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2013 | 3 | * Copyright (c) 2013 |
3 | * Phillip Lougher <phillip@squashfs.org.uk> | 4 | * Phillip Lougher <phillip@squashfs.org.uk> |
4 | * | ||
5 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
6 | * the COPYING file in the top-level directory. | ||
7 | */ | 5 | */ |
8 | 6 | ||
9 | #include <linux/fs.h> | 7 | #include <linux/fs.h> |
diff --git a/fs/squashfs/lz4_wrapper.c b/fs/squashfs/lz4_wrapper.c index 95da65366548..c4e47e0588c7 100644 --- a/fs/squashfs/lz4_wrapper.c +++ b/fs/squashfs/lz4_wrapper.c | |||
@@ -1,9 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2013, 2014 | 3 | * Copyright (c) 2013, 2014 |
3 | * Phillip Lougher <phillip@squashfs.org.uk> | 4 | * Phillip Lougher <phillip@squashfs.org.uk> |
4 | * | ||
5 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
6 | * the COPYING file in the top-level directory. | ||
7 | */ | 5 | */ |
8 | 6 | ||
9 | #include <linux/buffer_head.h> | 7 | #include <linux/buffer_head.h> |
diff --git a/fs/squashfs/page_actor.c b/fs/squashfs/page_actor.c index 9b7b1b6a7892..520d323a99ce 100644 --- a/fs/squashfs/page_actor.c +++ b/fs/squashfs/page_actor.c | |||
@@ -1,9 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2013 | 3 | * Copyright (c) 2013 |
3 | * Phillip Lougher <phillip@squashfs.org.uk> | 4 | * Phillip Lougher <phillip@squashfs.org.uk> |
4 | * | ||
5 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
6 | * the COPYING file in the top-level directory. | ||
7 | */ | 5 | */ |
8 | 6 | ||
9 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/fs/squashfs/page_actor.h b/fs/squashfs/page_actor.h index 98537eab27e2..2e3073ace009 100644 --- a/fs/squashfs/page_actor.h +++ b/fs/squashfs/page_actor.h | |||
@@ -1,11 +1,9 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef PAGE_ACTOR_H | 2 | #ifndef PAGE_ACTOR_H |
2 | #define PAGE_ACTOR_H | 3 | #define PAGE_ACTOR_H |
3 | /* | 4 | /* |
4 | * Copyright (c) 2013 | 5 | * Copyright (c) 2013 |
5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
6 | * | ||
7 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
8 | * the COPYING file in the top-level directory. | ||
9 | */ | 7 | */ |
10 | 8 | ||
11 | #ifndef CONFIG_SQUASHFS_FILE_DIRECT | 9 | #ifndef CONFIG_SQUASHFS_FILE_DIRECT |
diff --git a/fs/userfaultfd.c b/fs/userfaultfd.c index 3b30301c90ec..ae0b8b5f69e6 100644 --- a/fs/userfaultfd.c +++ b/fs/userfaultfd.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * fs/userfaultfd.c | 3 | * fs/userfaultfd.c |
3 | * | 4 | * |
@@ -5,9 +6,6 @@ | |||
5 | * Copyright (C) 2008-2009 Red Hat, Inc. | 6 | * Copyright (C) 2008-2009 Red Hat, Inc. |
6 | * Copyright (C) 2015 Red Hat, Inc. | 7 | * Copyright (C) 2015 Red Hat, Inc. |
7 | * | 8 | * |
8 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
9 | * the COPYING file in the top-level directory. | ||
10 | * | ||
11 | * Some part derived from fs/eventfd.c (anon inode setup) and | 9 | * Some part derived from fs/eventfd.c (anon inode setup) and |
12 | * mm/ksm.c (mm hashing). | 10 | * mm/ksm.c (mm hashing). |
13 | */ | 11 | */ |
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 79fa4426509c..d1ad38a3f048 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
@@ -1,10 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef __KVM_HOST_H | 2 | #ifndef __KVM_HOST_H |
2 | #define __KVM_HOST_H | 3 | #define __KVM_HOST_H |
3 | 4 | ||
4 | /* | ||
5 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
6 | * the COPYING file in the top-level directory. | ||
7 | */ | ||
8 | 5 | ||
9 | #include <linux/types.h> | 6 | #include <linux/types.h> |
10 | #include <linux/hardirq.h> | 7 | #include <linux/hardirq.h> |
diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 9f8bce9a6b32..bb8b617e34ed 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c | |||
@@ -1,8 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2009 Red Hat, Inc. | 3 | * Copyright (C) 2009 Red Hat, Inc. |
3 | * | ||
4 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
5 | * the COPYING file in the top-level directory. | ||
6 | */ | 4 | */ |
7 | 5 | ||
8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/mm/mmu_notifier.c b/mm/mmu_notifier.c index ee36068077b6..513b9607409d 100644 --- a/mm/mmu_notifier.c +++ b/mm/mmu_notifier.c | |||
@@ -1,12 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/mm/mmu_notifier.c | 3 | * linux/mm/mmu_notifier.c |
3 | * | 4 | * |
4 | * Copyright (C) 2008 Qumranet, Inc. | 5 | * Copyright (C) 2008 Qumranet, Inc. |
5 | * Copyright (C) 2008 SGI | 6 | * Copyright (C) 2008 SGI |
6 | * Christoph Lameter <cl@linux.com> | 7 | * Christoph Lameter <cl@linux.com> |
7 | * | ||
8 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
9 | * the COPYING file in the top-level directory. | ||
10 | */ | 8 | */ |
11 | 9 | ||
12 | #include <linux/rculist.h> | 10 | #include <linux/rculist.h> |
diff --git a/mm/userfaultfd.c b/mm/userfaultfd.c index 9932d5755e4c..c7ae74ce5ff3 100644 --- a/mm/userfaultfd.c +++ b/mm/userfaultfd.c | |||
@@ -1,10 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * mm/userfaultfd.c | 3 | * mm/userfaultfd.c |
3 | * | 4 | * |
4 | * Copyright (C) 2015 Red Hat, Inc. | 5 | * Copyright (C) 2015 Red Hat, Inc. |
5 | * | ||
6 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
7 | * the COPYING file in the top-level directory. | ||
8 | */ | 6 | */ |
9 | 7 | ||
10 | #include <linux/mm.h> | 8 | #include <linux/mm.h> |
diff --git a/tools/kvm/kvm_stat/kvm_stat b/tools/kvm/kvm_stat/kvm_stat index bc508dae286c..ad1b9e646c49 100755 --- a/tools/kvm/kvm_stat/kvm_stat +++ b/tools/kvm/kvm_stat/kvm_stat | |||
@@ -1,4 +1,5 @@ | |||
1 | #!/usr/bin/env python3 | 1 | #!/usr/bin/env python3 |
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
2 | # | 3 | # |
3 | # top-like utility for displaying kvm statistics | 4 | # top-like utility for displaying kvm statistics |
4 | # | 5 | # |
@@ -8,8 +9,6 @@ | |||
8 | # Authors: | 9 | # Authors: |
9 | # Avi Kivity <avi@redhat.com> | 10 | # Avi Kivity <avi@redhat.com> |
10 | # | 11 | # |
11 | # This work is licensed under the terms of the GNU GPL, version 2. See | ||
12 | # the COPYING file in the top-level directory. | ||
13 | """The kvm_stat module outputs statistics about running KVM VMs | 12 | """The kvm_stat module outputs statistics about running KVM VMs |
14 | 13 | ||
15 | Three different ways of output formatting are available: | 14 | Three different ways of output formatting are available: |
diff --git a/tools/testing/selftests/vm/userfaultfd.c b/tools/testing/selftests/vm/userfaultfd.c index b3e6497b080c..d3362777a425 100644 --- a/tools/testing/selftests/vm/userfaultfd.c +++ b/tools/testing/selftests/vm/userfaultfd.c | |||
@@ -1,11 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Stress userfaultfd syscall. | 3 | * Stress userfaultfd syscall. |
3 | * | 4 | * |
4 | * Copyright (C) 2015 Red Hat, Inc. | 5 | * Copyright (C) 2015 Red Hat, Inc. |
5 | * | 6 | * |
6 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
7 | * the COPYING file in the top-level directory. | ||
8 | * | ||
9 | * This test allocates two virtual areas and bounces the physical | 7 | * This test allocates two virtual areas and bounces the physical |
10 | * memory across the two virtual areas (from area_src to area_dst) | 8 | * memory across the two virtual areas (from area_src to area_dst) |
11 | * using userfaultfd. | 9 | * using userfaultfd. |
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index ca54b09adf5b..2f2d24a4dd5c 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Kernel-based Virtual Machine driver for Linux | 3 | * Kernel-based Virtual Machine driver for Linux |
3 | * | 4 | * |
@@ -10,10 +11,6 @@ | |||
10 | * Authors: | 11 | * Authors: |
11 | * Avi Kivity <avi@qumranet.com> | 12 | * Avi Kivity <avi@qumranet.com> |
12 | * Yaniv Kamay <yaniv@qumranet.com> | 13 | * Yaniv Kamay <yaniv@qumranet.com> |
13 | * | ||
14 | * This work is licensed under the terms of the GNU GPL, version 2. See | ||
15 | * the COPYING file in the top-level directory. | ||
16 | * | ||
17 | */ | 14 | */ |
18 | 15 | ||
19 | #include <kvm/iodev.h> | 16 | #include <kvm/iodev.h> |