Browse Source

treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 166

Based on 1 normalized pattern(s):

  licensed under the terms of the gnu gpl license version 2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

has been chosen to replace the boilerplate/reference in 62 file(s).

Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Allison Randal <[email protected]>
Reviewed-by: Kate Stewart <[email protected]>
Reviewed-by: Richard Fontana <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Thomas Gleixner 6 years ago
parent
commit
4f19048fd0
52 changed files with 52 additions and 98 deletions
  1. 1 1
      drivers/cpufreq/cpufreq-nforce2.c
  2. 1 2
      drivers/cpufreq/e_powersaver.c
  3. 1 1
      drivers/cpufreq/longhaul.c
  4. 1 2
      drivers/cpufreq/longhaul.h
  5. 1 2
      drivers/cpufreq/longrun.c
  6. 1 2
      drivers/cpufreq/powernow-k6.c
  7. 1 1
      drivers/cpufreq/powernow-k7.c
  8. 1 3
      drivers/cpufreq/powernow-k7.h
  9. 1 4
      drivers/cpufreq/powernow-k8.c
  10. 1 1
      drivers/cpufreq/speedstep-ich.c
  11. 1 2
      drivers/cpufreq/speedstep-lib.c
  12. 1 2
      drivers/cpufreq/speedstep-lib.h
  13. 1 3
      drivers/cpufreq/speedstep-smi.c
  14. 1 1
      scripts/checkkconfigsymbols.py
  15. 1 1
      scripts/gfp-translate
  16. 1 1
      scripts/leaking_addresses.pl
  17. 1 1
      scripts/recordmcount.pl
  18. 1 1
      scripts/tracing/draw_functrace.py
  19. 1 1
      tools/perf/scripts/perl/rw-by-file.pl
  20. 1 1
      tools/perf/scripts/perl/rw-by-pid.pl
  21. 1 1
      tools/perf/scripts/perl/rwtop.pl
  22. 1 1
      tools/perf/scripts/perl/wakeup-latency.pl
  23. 1 2
      tools/power/cpupower/debug/i386/centrino-decode.c
  24. 1 2
      tools/power/cpupower/debug/i386/intel_gsic.c
  25. 1 2
      tools/power/cpupower/debug/i386/powernow-k8-decode.c
  26. 1 2
      tools/power/cpupower/lib/cpufreq.c
  27. 1 2
      tools/power/cpupower/lib/cpuidle.c
  28. 1 2
      tools/power/cpupower/lib/cpupower.c
  29. 1 2
      tools/power/cpupower/utils/cpufreq-info.c
  30. 1 2
      tools/power/cpupower/utils/cpufreq-set.c
  31. 1 2
      tools/power/cpupower/utils/cpuidle-info.c
  32. 1 2
      tools/power/cpupower/utils/cpupower-info.c
  33. 1 2
      tools/power/cpupower/utils/cpupower-set.c
  34. 1 2
      tools/power/cpupower/utils/cpupower.c
  35. 1 2
      tools/power/cpupower/utils/helpers/helpers.h
  36. 1 2
      tools/power/cpupower/utils/helpers/sysfs.c
  37. 1 2
      tools/power/cpupower/utils/helpers/topology.c
  38. 1 2
      tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c
  39. 1 3
      tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c
  40. 1 3
      tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c
  41. 1 3
      tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h
  42. 1 2
      tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c
  43. 1 3
      tools/power/cpupower/utils/idle_monitor/idle_monitors.h
  44. 1 2
      tools/power/cpupower/utils/idle_monitor/mperf_monitor.c
  45. 1 2
      tools/power/cpupower/utils/idle_monitor/nhm_idle.c
  46. 1 2
      tools/power/cpupower/utils/idle_monitor/snb_idle.c
  47. 1 2
      tools/testing/ktest/config-bisect.pl
  48. 1 1
      tools/testing/ktest/ktest.pl
  49. 1 2
      tools/testing/selftests/breakpoints/breakpoint_test.c
  50. 1 2
      tools/testing/selftests/exec/execveat.c
  51. 1 2
      tools/testing/selftests/size/get_size.c
  52. 1 2
      tools/testing/selftests/timers/posix_timers.c

+ 1 - 1
drivers/cpufreq/cpufreq-nforce2.c

@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * (C) 2004-2006  Sebastian Witt <[email protected]>
  *
- *  Licensed under the terms of the GNU GPL License version 2.
  *  Based upon reverse engineered information
  *
  *  BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*

+ 1 - 2
drivers/cpufreq/e_powersaver.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  Based on documentation provided by Dave Jones. Thanks!
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*
  */
 

+ 1 - 1
drivers/cpufreq/longhaul.c

@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2001-2004  Dave Jones.
  *  (C) 2002  Padraig Brady. <[email protected]>
  *
- *  Licensed under the terms of the GNU GPL License version 2.
  *  Based upon datasheets & sample CPUs kindly provided by VIA.
  *
  *  VIA have currently 3 different versions of Longhaul.

+ 1 - 2
drivers/cpufreq/longhaul.h

@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  longhaul.h
  *  (C) 2003 Dave Jones.
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  VIA-specific information
  */
 

+ 1 - 2
drivers/cpufreq/longrun.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * (C) 2002 - 2003  Dominik Brodowski <[email protected]>
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*
  */
 

+ 1 - 2
drivers/cpufreq/powernow-k6.c

@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  This file was based upon code in Powertweak Linux (http://powertweak.sf.net)
  *  (C) 2000-2003  Dave Jones, Arjan van de Ven, Janne Pänkälä,
  *                 Dominik Brodowski.
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*
  */
 

+ 1 - 1
drivers/cpufreq/powernow-k7.c

@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  AMD K7 Powernow driver.
  *  (C) 2003 Dave Jones on behalf of SuSE Labs.
  *
- *  Licensed under the terms of the GNU GPL License version 2.
  *  Based upon datasheets & sample CPUs kindly provided by AMD.
  *
  * Errata 5:

+ 1 - 3
drivers/cpufreq/powernow-k7.h

@@ -1,10 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  (C) 2003 Dave Jones.
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  AMD-specific information
- *
  */
 
 union msr_fidvidctl {

+ 1 - 4
drivers/cpufreq/powernow-k8.c

@@ -1,8 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *   (c) 2003-2012 Advanced Micro Devices, Inc.
- *  Your use of this code is subject to the terms and conditions of the
- *  GNU general public license version 2. See "COPYING" or
- *  http://www.gnu.org/licenses/gpl.html
  *
  *  Maintainer:
  *  Andreas Herrmann <[email protected]>
@@ -11,7 +9,6 @@
  *  (C) 2003 Dave Jones on behalf of SuSE Labs
  *  (C) 2004 Dominik Brodowski <[email protected]>
  *  (C) 2004 Pavel Machek <[email protected]>
- *  Licensed under the terms of the GNU GPL License version 2.
  *  Based upon datasheets & sample CPUs kindly provided by AMD.
  *
  *  Valuable input gratefully received from Dave Jones, Pavel Machek,

+ 1 - 1
drivers/cpufreq/speedstep-ich.c

@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * (C) 2001  Dave Jones, Arjan van de ven.
  * (C) 2002 - 2003  Dominik Brodowski <[email protected]>
  *
- *  Licensed under the terms of the GNU GPL License version 2.
  *  Based upon reverse engineered information, and on Intel documentation
  *  for chipsets ICH2-M and ICH3-M.
  *

+ 1 - 2
drivers/cpufreq/speedstep-lib.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * (C) 2002 - 2003 Dominik Brodowski <[email protected]>
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  Library for common functions for Intel SpeedStep v.1 and v.2 support
  *
  *  BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*

+ 1 - 2
drivers/cpufreq/speedstep-lib.h

@@ -1,8 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * (C) 2002 - 2003 Dominik Brodowski <[email protected]>
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  Library for common functions for Intel SpeedStep v.1 and v.2 support
  *
  *  BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*

+ 1 - 3
drivers/cpufreq/speedstep-smi.c

@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Intel SpeedStep SMI driver.
  *
  * (C) 2003  Hiroshi Miura <[email protected]>
- *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  */
 
 

+ 1 - 1
scripts/checkkconfigsymbols.py

@@ -1,11 +1,11 @@
 #!/usr/bin/env python3
+# SPDX-License-Identifier: GPL-2.0-only
 
 """Find Kconfig symbols that are referenced but not defined."""
 
 # (c) 2014-2017 Valentin Rothberg <[email protected]>
 # (c) 2014 Stefan Hengelein <[email protected]>
 #
-# Licensed under the terms of the GNU GPL License version 2
 
 
 import argparse

+ 1 - 1
scripts/gfp-translate

@@ -1,7 +1,7 @@
 #!/bin/bash
+# SPDX-License-Identifier: GPL-2.0-only
 # Translate the bits making up a GFP mask
 # (c) 2009, Mel Gorman <[email protected]>
-# Licensed under the terms of the GNU GPL License version 2
 SOURCE=
 GFPMASK=none
 

+ 1 - 1
scripts/leaking_addresses.pl

@@ -1,7 +1,7 @@
 #!/usr/bin/env perl
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # (c) 2017 Tobin C. Harding <[email protected]>
-# Licensed under the terms of the GNU GPL License version 2
 #
 # leaking_addresses.pl: Scan the kernel for potential leaking addresses.
 #  - Scans dmesg output.

+ 1 - 1
scripts/recordmcount.pl

@@ -1,6 +1,6 @@
 #!/usr/bin/env perl
+# SPDX-License-Identifier: GPL-2.0-only
 # (c) 2008, Steven Rostedt <[email protected]>
-# Licensed under the terms of the GNU GPL License version 2
 #
 # recordmcount.pl - makes a section called __mcount_loc that holds
 #                   all the offsets to the calls to mcount.

+ 1 - 1
scripts/tracing/draw_functrace.py

@@ -1,8 +1,8 @@
 #!/usr/bin/python
+# SPDX-License-Identifier: GPL-2.0-only
 
 """
 Copyright 2008 (c) Frederic Weisbecker <[email protected]>
-Licensed under the terms of the GNU GPL License version 2
 
 This script parses a trace provided by the function tracer in
 kernel/trace/trace_functions.c

+ 1 - 1
tools/perf/scripts/perl/rw-by-file.pl

@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0-only
 # (c) 2009, Tom Zanussi <[email protected]>
-# Licensed under the terms of the GNU GPL License version 2
 
 # Display r/w activity for files read/written to for a given program
 

+ 1 - 1
tools/perf/scripts/perl/rw-by-pid.pl

@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0-only
 # (c) 2009, Tom Zanussi <[email protected]>
-# Licensed under the terms of the GNU GPL License version 2
 
 # Display r/w activity for all processes
 

+ 1 - 1
tools/perf/scripts/perl/rwtop.pl

@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0-only
 # (c) 2010, Tom Zanussi <[email protected]>
-# Licensed under the terms of the GNU GPL License version 2
 
 # read/write top
 #

+ 1 - 1
tools/perf/scripts/perl/wakeup-latency.pl

@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0-only
 # (c) 2009, Tom Zanussi <[email protected]>
-# Licensed under the terms of the GNU GPL License version 2
 
 # Display avg/min/max wakeup latency
 

+ 1 - 2
tools/power/cpupower/debug/i386/centrino-decode.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2003 - 2004  Dominik Brodowski <[email protected]>
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  * Based on code found in
  * linux/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
  * and originally developed by Jeremy Fitzhardinge.

+ 1 - 2
tools/power/cpupower/debug/i386/intel_gsic.c

@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2003  Bruno Ducrot
  *  (C) 2004  Dominik Brodowski <[email protected]>
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  * Based on code found in
  * linux/include/asm-i386/ist.h and linux/arch/i386/kernel/setup.c
  * and originally developed by Andy Grover <[email protected]>

+ 1 - 2
tools/power/cpupower/debug/i386/powernow-k8-decode.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2004 Bruno Ducrot <[email protected]>
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  * Based on code found in
  * linux/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
  * and originally developed by Paul Devriendt

+ 1 - 2
tools/power/cpupower/lib/cpufreq.c

@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2004-2009  Dominik Brodowski <[email protected]>
- *
- *  Licensed under the terms of the GNU GPL License version 2.
  */
 
 

+ 1 - 2
tools/power/cpupower/lib/cpuidle.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2004-2009  Dominik Brodowski <[email protected]>
  *  (C) 2011       Thomas Renninger <[email protected]> Novell Inc.
- *
- *  Licensed under the terms of the GNU GPL License version 2.
  */
 
 #include <stdio.h>

+ 1 - 2
tools/power/cpupower/lib/cpupower.c

@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2004-2009  Dominik Brodowski <[email protected]>
- *
- *  Licensed under the terms of the GNU GPL License version 2.
  */
 
 #include <sys/types.h>

+ 1 - 2
tools/power/cpupower/utils/cpufreq-info.c

@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2004-2009  Dominik Brodowski <[email protected]>
- *
- *  Licensed under the terms of the GNU GPL License version 2.
  */
 
 

+ 1 - 2
tools/power/cpupower/utils/cpufreq-set.c

@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2004-2009  Dominik Brodowski <[email protected]>
- *
- *  Licensed under the terms of the GNU GPL License version 2.
  */
 
 

+ 1 - 2
tools/power/cpupower/utils/cpuidle-info.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2004-2009  Dominik Brodowski <[email protected]>
  *  (C) 2010       Thomas Renninger <[email protected]>
- *
- *  Licensed under the terms of the GNU GPL License version 2.
  */
 
 

+ 1 - 2
tools/power/cpupower/utils/cpupower-info.c

@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2011 Thomas Renninger <[email protected]>, Novell Inc.
- *
- *  Licensed under the terms of the GNU GPL License version 2.
  */
 
 

+ 1 - 2
tools/power/cpupower/utils/cpupower-set.c

@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2011 Thomas Renninger <[email protected]>, Novell Inc.
- *
- *  Licensed under the terms of the GNU GPL License version 2.
  */
 
 

+ 1 - 2
tools/power/cpupower/utils/cpupower.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2010,2011       Thomas Renninger <[email protected]>, Novell Inc.
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  Ideas taken over from the perf userspace tool (included in the Linus
  *  kernel git repo): subcommand builtins and param parsing.
  */

+ 1 - 2
tools/power/cpupower/utils/helpers/helpers.h

@@ -1,8 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  (C) 2010,2011       Thomas Renninger <[email protected]>, Novell Inc.
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  * Miscellaneous helpers which do not fit or are worth
  * to put into separate headers
  */

+ 1 - 2
tools/power/cpupower/utils/helpers/sysfs.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2004-2009  Dominik Brodowski <[email protected]>
  *  (C) 2011       Thomas Renninger <[email protected]> Novell Inc.
- *
- *  Licensed under the terms of the GNU GPL License version 2.
  */
 
 #include <stdio.h>

+ 1 - 2
tools/power/cpupower/utils/helpers/topology.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2010,2011       Thomas Renninger <[email protected]>, Novell Inc.
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  * ToDo: Needs to be done more properly for AMD/Intel specifics
  */
 

+ 1 - 2
tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2010,2011      Thomas Renninger <[email protected]>, Novell Inc.
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  PCI initialization based on example code from:
  *  Andreas Herrmann <[email protected]>
  */

+ 1 - 3
tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c

@@ -1,8 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2010,2011       Thomas Renninger <[email protected]>, Novell Inc
- *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  */
 
 #include <stdio.h>

+ 1 - 3
tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c

@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2010,2011       Thomas Renninger <[email protected]>, Novell Inc.
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  Output format inspired by Len Brown's <[email protected]> turbostat tool.
- *
  */
 
 

+ 1 - 3
tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h

@@ -1,8 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  (C) 2010,2011       Thomas Renninger <[email protected]>, Novell Inc.
- *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  */
 
 #ifndef __CPUIDLE_INFO_HW__

+ 1 - 2
tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2010,2011       Thomas Renninger <[email protected]>, Novell Inc.
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  Based on SandyBridge monitor. Implements the new package C-states
  *  (PC8, PC9, PC10) coming with a specific Haswell (family 0x45) CPU.
  */

+ 1 - 3
tools/power/cpupower/utils/idle_monitor/idle_monitors.h

@@ -1,10 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  (C) 2010,2011       Thomas Renninger <[email protected]>, Novell Inc.
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  Based on the idea from Michael Matz <[email protected]>
- *
  */
 
 #ifndef _CPUIDLE_IDLE_MONITORS_H_

+ 1 - 2
tools/power/cpupower/utils/idle_monitor/mperf_monitor.c

@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2010,2011       Thomas Renninger <[email protected]>, Novell Inc.
- *
- *  Licensed under the terms of the GNU GPL License version 2.
  */
 
 #if defined(__i386__) || defined(__x86_64__)

+ 1 - 2
tools/power/cpupower/utils/idle_monitor/nhm_idle.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2010,2011       Thomas Renninger <[email protected]>, Novell Inc.
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  Based on Len Brown's <[email protected]> turbostat tool.
  */
 

+ 1 - 2
tools/power/cpupower/utils/idle_monitor/snb_idle.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  (C) 2010,2011       Thomas Renninger <[email protected]>, Novell Inc.
  *
- *  Licensed under the terms of the GNU GPL License version 2.
- *
  *  Based on Len Brown's <[email protected]> turbostat tool.
  */
 

+ 1 - 2
tools/testing/ktest/config-bisect.pl

@@ -1,10 +1,9 @@
 #!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Copyright 2015 - Steven Rostedt, Red Hat Inc.
 # Copyright 2017 - Steven Rostedt, VMware, Inc.
 #
-# Licensed under the terms of the GNU GPL License version 2
-#
 
 # usage:
 #  config-bisect.pl [options] good-config bad-config [good|bad]

+ 1 - 1
tools/testing/ktest/ktest.pl

@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Copyright 2010 - Steven Rostedt <[email protected]>, Red Hat Inc.
-# Licensed under the terms of the GNU GPL License version 2
 #
 
 use strict;

+ 1 - 2
tools/testing/selftests/breakpoints/breakpoint_test.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2011 Red Hat, Inc., Frederic Weisbecker <[email protected]>
  *
- * Licensed under the terms of the GNU GPL License version 2
- *
  * Selftests for breakpoints (and more generally the do_debug() path) in x86.
  */
 

+ 1 - 2
tools/testing/selftests/exec/execveat.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2014 Google, Inc.
  *
- * Licensed under the terms of the GNU GPL License version 2
- *
  * Selftests for execveat(2).
  */
 

+ 1 - 2
tools/testing/selftests/size/get_size.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2014 Sony Mobile Communications Inc.
  *
- * Licensed under the terms of the GNU GPL License version 2
- *
  * Selftest for runtime system size
  *
  * Prints the amount of RAM that the currently running system is using.

+ 1 - 2
tools/testing/selftests/timers/posix_timers.c

@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013 Red Hat, Inc., Frederic Weisbecker <[email protected]>
  *
- * Licensed under the terms of the GNU GPL License version 2
- *
  * Selftests for a few posix timers interface.
  *
  * Kernel loop code stolen from Steven Rostedt <[email protected]>