aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-05-31 04:09:38 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-05 11:37:10 -0400
commit4317cf95ca02411cf788d10c1972a38582e8c34d (patch)
tree50172e38b4f283fabae8ef8db563ee9e4104bc47
parentc51669eafb457a071eb1573a723c03b836af5316 (diff)
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 378
Based on 1 normalized pattern(s): licensed under the gnu general public license version 2 gplv2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 5 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Armijn Hemel <armijn@tjaldur.nl> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190531081036.993848054@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rwxr-xr-xscripts/extract-vmlinux2
-rw-r--r--scripts/recordmcount.c2
-rw-r--r--scripts/recordmcount.h3
-rw-r--r--scripts/sortextable.c2
-rw-r--r--scripts/sortextable.h4
5 files changed, 5 insertions, 8 deletions
diff --git a/scripts/extract-vmlinux b/scripts/extract-vmlinux
index 85e1f32fb4a0..8995cd304e6e 100755
--- a/scripts/extract-vmlinux
+++ b/scripts/extract-vmlinux
@@ -1,4 +1,5 @@
1#!/bin/sh 1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0-only
2# ---------------------------------------------------------------------- 3# ----------------------------------------------------------------------
3# extract-vmlinux - Extract uncompressed vmlinux from a kernel image 4# extract-vmlinux - Extract uncompressed vmlinux from a kernel image
4# 5#
@@ -7,7 +8,6 @@
7# 8#
8# (c) 2011 Corentin Chary <corentin.chary@gmail.com> 9# (c) 2011 Corentin Chary <corentin.chary@gmail.com>
9# 10#
10# Licensed under the GNU General Public License, version 2 (GPLv2).
11# ---------------------------------------------------------------------- 11# ----------------------------------------------------------------------
12 12
13check_vmlinux() 13check_vmlinux()
diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c
index a50a2aa963ad..8387a9bc064a 100644
--- a/scripts/recordmcount.c
+++ b/scripts/recordmcount.c
@@ -1,8 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * recordmcount.c: construct a table of the locations of calls to 'mcount' 3 * recordmcount.c: construct a table of the locations of calls to 'mcount'
3 * so that ftrace can find them quickly. 4 * so that ftrace can find them quickly.
4 * Copyright 2009 John F. Reiser <jreiser@BitWagon.com>. All rights reserved. 5 * Copyright 2009 John F. Reiser <jreiser@BitWagon.com>. All rights reserved.
5 * Licensed under the GNU General Public License, version 2 (GPLv2).
6 * 6 *
7 * Restructured to fit Linux format, as well as other updates: 7 * Restructured to fit Linux format, as well as other updates:
8 * Copyright 2010 Steven Rostedt <srostedt@redhat.com>, Red Hat Inc. 8 * Copyright 2010 Steven Rostedt <srostedt@redhat.com>, Red Hat Inc.
diff --git a/scripts/recordmcount.h b/scripts/recordmcount.h
index 2e7793735e14..13c5e6c8829c 100644
--- a/scripts/recordmcount.h
+++ b/scripts/recordmcount.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * recordmcount.h 3 * recordmcount.h
3 * 4 *
@@ -15,8 +16,6 @@
15 * 16 *
16 * This conversion to macros was done by: 17 * This conversion to macros was done by:
17 * Copyright 2010 Steven Rostedt <srostedt@redhat.com>, Red Hat Inc. 18 * Copyright 2010 Steven Rostedt <srostedt@redhat.com>, Red Hat Inc.
18 *
19 * Licensed under the GNU General Public License, version 2 (GPLv2).
20 */ 19 */
21#undef append_func 20#undef append_func
22#undef is_fake_mcount 21#undef is_fake_mcount
diff --git a/scripts/sortextable.c b/scripts/sortextable.c
index 365a907f98b3..55768654e3c6 100644
--- a/scripts/sortextable.c
+++ b/scripts/sortextable.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * sortextable.c: Sort the kernel's exception table 3 * sortextable.c: Sort the kernel's exception table
3 * 4 *
@@ -6,7 +7,6 @@
6 * Based on code taken from recortmcount.c which is: 7 * Based on code taken from recortmcount.c which is:
7 * 8 *
8 * Copyright 2009 John F. Reiser <jreiser@BitWagon.com>. All rights reserved. 9 * Copyright 2009 John F. Reiser <jreiser@BitWagon.com>. All rights reserved.
9 * Licensed under the GNU General Public License, version 2 (GPLv2).
10 * 10 *
11 * Restructured to fit Linux format, as well as other updates: 11 * Restructured to fit Linux format, as well as other updates:
12 * Copyright 2010 Steven Rostedt <srostedt@redhat.com>, Red Hat Inc. 12 * Copyright 2010 Steven Rostedt <srostedt@redhat.com>, Red Hat Inc.
diff --git a/scripts/sortextable.h b/scripts/sortextable.h
index ba8700428e21..d4b3f6c40f02 100644
--- a/scripts/sortextable.h
+++ b/scripts/sortextable.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * sortextable.h 3 * sortextable.h
3 * 4 *
@@ -7,9 +8,6 @@
7 * 8 *
8 * Copyright 2009 John F. Reiser <jreiser@BitWagon.com>. All rights reserved. 9 * Copyright 2009 John F. Reiser <jreiser@BitWagon.com>. All rights reserved.
9 * Copyright 2010 Steven Rostedt <srostedt@redhat.com>, Red Hat Inc. 10 * Copyright 2010 Steven Rostedt <srostedt@redhat.com>, Red Hat Inc.
10 *
11 *
12 * Licensed under the GNU General Public License, version 2 (GPLv2).
13 */ 11 */
14 12
15#undef extable_ent_size 13#undef extable_ent_size