summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-05-29 10:12:31 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-05 11:30:27 -0400
commitfb9e53cce71919bdc621489eb1069a5dd131649d (patch)
treef846cbbae14d1615673e0ce79524b87690f78a34 /tools
parentf7be8ec10428b0649953da25615ba0ebec399758 (diff)
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 257
Based on 1 normalized pattern(s): gpl v2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 19 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Richard Fontana <rfontana@redhat.com> Reviewed-by: Steve Winslow <swinslow@gmail.com> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190529141333.108140152@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/x86/check_cc.sh2
-rw-r--r--tools/testing/selftests/x86/entry_from_vm86.c3
-rw-r--r--tools/testing/selftests/x86/fsgsbase.c2
-rw-r--r--tools/testing/selftests/x86/trivial_32bit_program.c2
-rw-r--r--tools/testing/selftests/x86/trivial_64bit_program.c2
5 files changed, 5 insertions, 6 deletions
diff --git a/tools/testing/selftests/x86/check_cc.sh b/tools/testing/selftests/x86/check_cc.sh
index 172d3293fb7b..3e2089c8cf54 100755
--- a/tools/testing/selftests/x86/check_cc.sh
+++ b/tools/testing/selftests/x86/check_cc.sh
@@ -1,7 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0-only
2# check_cc.sh - Helper to test userspace compilation support 3# check_cc.sh - Helper to test userspace compilation support
3# Copyright (c) 2015 Andrew Lutomirski 4# Copyright (c) 2015 Andrew Lutomirski
4# GPL v2
5 5
6CC="$1" 6CC="$1"
7TESTPROG="$2" 7TESTPROG="$2"
diff --git a/tools/testing/selftests/x86/entry_from_vm86.c b/tools/testing/selftests/x86/entry_from_vm86.c
index ade443a88421..d1e919b0c1dc 100644
--- a/tools/testing/selftests/x86/entry_from_vm86.c
+++ b/tools/testing/selftests/x86/entry_from_vm86.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * entry_from_vm86.c - tests kernel entries from vm86 mode 3 * entry_from_vm86.c - tests kernel entries from vm86 mode
3 * Copyright (c) 2014-2015 Andrew Lutomirski 4 * Copyright (c) 2014-2015 Andrew Lutomirski
4 * 5 *
5 * This exercises a few paths that need to special-case vm86 mode. 6 * This exercises a few paths that need to special-case vm86 mode.
6 *
7 * GPL v2.
8 */ 7 */
9 8
10#define _GNU_SOURCE 9#define _GNU_SOURCE
diff --git a/tools/testing/selftests/x86/fsgsbase.c b/tools/testing/selftests/x86/fsgsbase.c
index f249e042b3b5..af85bd4752a5 100644
--- a/tools/testing/selftests/x86/fsgsbase.c
+++ b/tools/testing/selftests/x86/fsgsbase.c
@@ -1,7 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * fsgsbase.c, an fsgsbase test 3 * fsgsbase.c, an fsgsbase test
3 * Copyright (c) 2014-2016 Andy Lutomirski 4 * Copyright (c) 2014-2016 Andy Lutomirski
4 * GPL v2
5 */ 5 */
6 6
7#define _GNU_SOURCE 7#define _GNU_SOURCE
diff --git a/tools/testing/selftests/x86/trivial_32bit_program.c b/tools/testing/selftests/x86/trivial_32bit_program.c
index fabdf0f51621..aa1f58c2f71c 100644
--- a/tools/testing/selftests/x86/trivial_32bit_program.c
+++ b/tools/testing/selftests/x86/trivial_32bit_program.c
@@ -1,7 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Trivial program to check that we have a valid 32-bit build environment. 3 * Trivial program to check that we have a valid 32-bit build environment.
3 * Copyright (c) 2015 Andy Lutomirski 4 * Copyright (c) 2015 Andy Lutomirski
4 * GPL v2
5 */ 5 */
6 6
7#ifndef __i386__ 7#ifndef __i386__
diff --git a/tools/testing/selftests/x86/trivial_64bit_program.c b/tools/testing/selftests/x86/trivial_64bit_program.c
index 05c6a41b3671..39f4b84fbf15 100644
--- a/tools/testing/selftests/x86/trivial_64bit_program.c
+++ b/tools/testing/selftests/x86/trivial_64bit_program.c
@@ -1,7 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Trivial program to check that we have a valid 64-bit build environment. 3 * Trivial program to check that we have a valid 64-bit build environment.
3 * Copyright (c) 2015 Andy Lutomirski 4 * Copyright (c) 2015 Andy Lutomirski
4 * GPL v2
5 */ 5 */
6 6
7#ifndef __x86_64__ 7#ifndef __x86_64__