Skip to content

Commit 20c8ccb

Browse files
KAGA-KOKOgregkh
authored andcommittedJun 19, 2019
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 <[email protected]> Reviewed-by: Kate Stewart <[email protected]> Reviewed-by: Enrico Weigelt <[email protected]> Reviewed-by: Allison Randal <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 0c94efa commit 20c8ccb

35 files changed

+35
-119
lines changed
 

‎arch/x86/include/asm/kvm_host.h

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1+
/* SPDX-License-Identifier: GPL-2.0-only */
12
/*
23
* Kernel-based Virtual Machine driver for Linux
34
*
45
* 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-
*
96
*/
107

118
#ifndef _ASM_X86_KVM_HOST_H

‎arch/x86/include/asm/virtext.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* SPDX-License-Identifier: GPL-2.0-only */
12
/* CPU virtualization extensions handling
23
*
34
* This should carry the code for handling CPU virtualization extensions
@@ -8,9 +9,6 @@
89
* Copyright (C) 2008, Red Hat Inc.
910
*
1011
* 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.
1412
*/
1513
#ifndef _ASM_X86_VIRTEX_H
1614
#define _ASM_X86_VIRTEX_H

‎arch/x86/kvm/cpuid.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Kernel-based Virtual Machine driver for Linux
34
* cpuid support routines
@@ -6,10 +7,6 @@
67
*
78
* Copyright 2011 Red Hat, Inc. and/or its affiliates.
89
* 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-
*
1310
*/
1411

1512
#include <linux/kvm_host.h>

‎arch/x86/kvm/debugfs.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Kernel-based Virtual Machine driver for Linux
34
*
45
* 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-
*
96
*/
107
#include <linux/kvm_host.h>
118
#include <linux/debugfs.h>

‎arch/x86/kvm/emulate.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/******************************************************************************
23
* emulate.c
34
*
@@ -14,9 +15,6 @@
1415
* Avi Kivity <avi@qumranet.com>
1516
* Yaniv Kamay <yaniv@qumranet.com>
1617
*
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-
*
2018
* From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4
2119
*/
2220

‎arch/x86/kvm/hyperv.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* KVM Microsoft Hyper-V emulation
34
*
@@ -15,10 +16,6 @@
1516
* Amit Shah <amit.shah@qumranet.com>
1617
* Ben-Ami Yassour <benami@il.ibm.com>
1718
* 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-
*
2219
*/
2320

2421
#include "x86.h"

‎arch/x86/kvm/hyperv.h

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* SPDX-License-Identifier: GPL-2.0-only */
12
/*
23
* KVM Microsoft Hyper-V emulation
34
*
@@ -15,10 +16,6 @@
1516
* Amit Shah <amit.shah@qumranet.com>
1617
* Ben-Ami Yassour <benami@il.ibm.com>
1718
* 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-
*
2219
*/
2320

2421
#ifndef __ARCH_X86_KVM_HYPERV_H__

‎arch/x86/kvm/lapic.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12

23
/*
34
* Local APIC virtualization
@@ -13,9 +14,6 @@
1314
* Yaozu (Eddie) Dong <eddie.dong@intel.com>
1415
*
1516
* 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.
1917
*/
2018

2119
#include <linux/kvm_host.h>

‎arch/x86/kvm/mmu.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Kernel-based Virtual Machine driver for Linux
34
*
@@ -12,10 +13,6 @@
1213
* Authors:
1314
* Yaniv Kamay <yaniv@qumranet.com>
1415
* 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-
*
1916
*/
2017

2118
#include "irq.h"

‎arch/x86/kvm/mmu_audit.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* mmu_audit.c:
34
*
@@ -11,10 +12,6 @@
1112
* Avi Kivity <avi@qumranet.com>
1213
* Marcelo Tosatti <mtosatti@redhat.com>
1314
* 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-
*
1815
*/
1916

2017
#include <linux/ratelimit.h>

‎arch/x86/kvm/mtrr.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* vMTRR implementation
34
*
@@ -11,9 +12,6 @@
1112
* Marcelo Tosatti <mtosatti@redhat.com>
1213
* Paolo Bonzini <pbonzini@redhat.com>
1314
* 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.
1715
*/
1816

1917
#include <linux/kvm_host.h>

‎arch/x86/kvm/page_track.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Support KVM gust page tracking
34
*
@@ -8,9 +9,6 @@
89
*
910
* Author:
1011
* 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.
1412
*/
1513

1614
#include <linux/kvm_host.h>

‎arch/x86/kvm/paging_tmpl.h

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* SPDX-License-Identifier: GPL-2.0-only */
12
/*
23
* Kernel-based Virtual Machine driver for Linux
34
*
@@ -12,10 +13,6 @@
1213
* Authors:
1314
* Yaniv Kamay <yaniv@qumranet.com>
1415
* 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-
*
1916
*/
2017

2118
/*

‎arch/x86/kvm/pmu.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Kernel-based Virtual Machine -- Performance Monitoring Unit support
34
*
@@ -7,10 +8,6 @@
78
* Avi Kivity <avi@redhat.com>
89
* Gleb Natapov <gleb@redhat.com>
910
* 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-
*
1411
*/
1512

1613
#include <linux/types.h>

‎arch/x86/kvm/pmu_amd.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* KVM PMU support for AMD
34
*
@@ -6,9 +7,6 @@
67
* Author:
78
* Wei Huang <wei@redhat.com>
89
*
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-
*
1210
* Implementation is based on pmu_intel.c file
1311
*/
1412
#include <linux/types.h>

‎arch/x86/kvm/svm.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Kernel-based Virtual Machine driver for Linux
34
*
@@ -9,10 +10,6 @@
910
* Authors:
1011
* Yaniv Kamay <yaniv@qumranet.com>
1112
* 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-
*
1613
*/
1714

1815
#define pr_fmt(fmt) "SVM: " fmt

‎arch/x86/kvm/vmx/pmu_intel.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* KVM PMU support for Intel CPUs
34
*
@@ -6,10 +7,6 @@
67
* Authors:
78
* Avi Kivity <avi@redhat.com>
89
* 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-
*
1310
*/
1411
#include <linux/types.h>
1512
#include <linux/kvm_host.h>

‎arch/x86/kvm/vmx/vmx.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Kernel-based Virtual Machine driver for Linux
34
*
@@ -10,10 +11,6 @@
1011
* Authors:
1112
* Avi Kivity <avi@qumranet.com>
1213
* 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-
*
1714
*/
1815

1916
#include <linux/frame.h>

‎arch/x86/kvm/x86.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Kernel-based Virtual Machine driver for Linux
34
*
@@ -13,10 +14,6 @@
1314
* Yaniv Kamay <yaniv@qumranet.com>
1415
* Amit Shah <amit.shah@qumranet.com>
1516
* 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-
*
2017
*/
2118

2219
#include <linux/kvm_host.h>

‎fs/squashfs/decompressor_multi.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Copyright (c) 2013
34
* 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.
75
*/
86
#include <linux/types.h>
97
#include <linux/mutex.h>

‎fs/squashfs/decompressor_multi_percpu.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Copyright (c) 2013
34
* 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.
75
*/
86

97
#include <linux/types.h>

‎fs/squashfs/decompressor_single.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Copyright (c) 2013
34
* 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.
75
*/
86

97
#include <linux/types.h>

‎fs/squashfs/file_cache.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Copyright (c) 2013
34
* 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.
75
*/
86

97
#include <linux/fs.h>

‎fs/squashfs/file_direct.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Copyright (c) 2013
34
* 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.
75
*/
86

97
#include <linux/fs.h>

‎fs/squashfs/lz4_wrapper.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Copyright (c) 2013, 2014
34
* 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.
75
*/
86

97
#include <linux/buffer_head.h>

‎fs/squashfs/page_actor.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Copyright (c) 2013
34
* 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.
75
*/
86

97
#include <linux/kernel.h>

‎fs/squashfs/page_actor.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1+
/* SPDX-License-Identifier: GPL-2.0-only */
12
#ifndef PAGE_ACTOR_H
23
#define PAGE_ACTOR_H
34
/*
45
* Copyright (c) 2013
56
* 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.
97
*/
108

119
#ifndef CONFIG_SQUASHFS_FILE_DIRECT

‎fs/userfaultfd.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* fs/userfaultfd.c
34
*
45
* Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
56
* Copyright (C) 2008-2009 Red Hat, Inc.
67
* Copyright (C) 2015 Red Hat, Inc.
78
*
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-
*
119
* Some part derived from fs/eventfd.c (anon inode setup) and
1210
* mm/ksm.c (mm hashing).
1311
*/

0 commit comments

Comments
 (0)
Please sign in to comment.