These files contain various forms of boilerplate language and sloppy GPL
references.

Replace all of them with the proper SPDX identifiers.

Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Yang Yingliang <[email protected]>
Cc: Russell King <[email protected]>
Cc: Bartosz Golaszewski <[email protected]>
Cc: H. Peter Anvin <[email protected]>
---
 kernel/irq/cpuhotplug.c |    5 +----
 kernel/irq/debugfs.c    |    8 +++-----
 kernel/irq/irq_sim.c    |   10 ++--------
 kernel/irq/msi.c        |    3 +--
 kernel/irq/timings.c    |   11 +++--------
 5 files changed, 10 insertions(+), 27 deletions(-)

--- a/kernel/irq/cpuhotplug.c
+++ b/kernel/irq/cpuhotplug.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Generic cpu hotunplug interrupt migration code copied from the
  * arch/arm implementation
  *
  * Copyright (C) Russell King
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 #include <linux/interrupt.h>
 #include <linux/ratelimit.h>
--- a/kernel/irq/debugfs.c
+++ b/kernel/irq/debugfs.c
@@ -1,8 +1,6 @@
-/*
- * Copyright 2017 Thomas Gleixner <[email protected]>
- *
- * This file is licensed under the GPL V2.
- */
+// SPDX-License-Identifier: GPL-2.0
+// Copyright 2017 Thomas Gleixner <[email protected]>
+
 #include <linux/irqdomain.h>
 #include <linux/irq.h>
 #include <linux/uaccess.h>
--- a/kernel/irq/irq_sim.c
+++ b/kernel/irq/irq_sim.c
@@ -1,11 +1,5 @@
-/*
- * Copyright (C) 2017 Bartosz Golaszewski <[email protected]>
- *
- * This program is free software; you can redistribute  it and/or modify it
- * under  the terms of  the GNU General  Public License as published by the
- * Free Software Foundation;  either version 2 of the  License, or (at your
- * option) any later version.
- */
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright (C) 2017 Bartosz Golaszewski <[email protected]>
 
 #include <linux/slab.h>
 #include <linux/irq_sim.h>
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2014 Intel Corp.
  * Author: Jiang Liu <[email protected]>
  *
- * This file is licensed under GPLv2.
- *
  * This file contains common code to support Message Signalled Interrupt for
  * PCI compatible and non PCI compatible devices.
  */
--- a/kernel/irq/timings.c
+++ b/kernel/irq/timings.c
@@ -1,11 +1,6 @@
-/*
- * Copyright (C) 2016, Linaro Ltd - Daniel Lezcano <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- */
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (C) 2016, Linaro Ltd - Daniel Lezcano <[email protected]>
+
 #include <linux/kernel.h>
 #include <linux/percpu.h>
 #include <linux/slab.h>


Reply via email to