diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-06-04 04:11:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-19 11:09:55 -0400 |
commit | d2912cb15bdda8ba4a5dd73396ad62641af2f520 (patch) | |
tree | ff723089c8673e3f99df3ddcdaeae7a52bd6fdac /arch/unicore32/kernel | |
parent | 20c8ccb1975b8d5639789d1025ad6ada38bd6f48 (diff) |
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
Based on 2 normalized pattern(s):
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
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 #
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Enrico Weigelt <info@metux.net>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Allison Randal <allison@lohutok.net>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/unicore32/kernel')
31 files changed, 31 insertions, 125 deletions
diff --git a/arch/unicore32/kernel/asm-offsets.c b/arch/unicore32/kernel/asm-offsets.c index 80d50c4651e3..f7d672267549 100644 --- a/arch/unicore32/kernel/asm-offsets.c +++ b/arch/unicore32/kernel/asm-offsets.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/asm-offsets.c | 3 | * linux/arch/unicore32/kernel/asm-offsets.c |
3 | * | 4 | * |
@@ -8,10 +9,6 @@ | |||
8 | * Generate definitions needed by assembly language modules. | 9 | * Generate definitions needed by assembly language modules. |
9 | * This code generates raw asm output which is post-processed to extract | 10 | * This code generates raw asm output which is post-processed to extract |
10 | * and format the required data. | 11 | * and format the required data. |
11 | * | ||
12 | * This program is free software; you can redistribute it and/or modify | ||
13 | * it under the terms of the GNU General Public License version 2 as | ||
14 | * published by the Free Software Foundation. | ||
15 | */ | 12 | */ |
16 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
17 | #include <linux/mm.h> | 14 | #include <linux/mm.h> |
diff --git a/arch/unicore32/kernel/clock.c b/arch/unicore32/kernel/clock.c index b1ca775f6f6e..41df6be0a3b2 100644 --- a/arch/unicore32/kernel/clock.c +++ b/arch/unicore32/kernel/clock.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/clock.c | 3 | * linux/arch/unicore32/kernel/clock.c |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> | 7 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> |
7 | * Copyright (C) 2001-2010 Guan Xuetao | 8 | * Copyright (C) 2001-2010 Guan Xuetao |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | #include <linux/module.h> | 10 | #include <linux/module.h> |
14 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
diff --git a/arch/unicore32/kernel/debug-macro.S b/arch/unicore32/kernel/debug-macro.S index 2711d6d87d8e..7e2da0de4f71 100644 --- a/arch/unicore32/kernel/debug-macro.S +++ b/arch/unicore32/kernel/debug-macro.S | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/debug-macro.S | 3 | * linux/arch/unicore32/kernel/debug-macro.S |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | 8 | * |
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | * | ||
12 | * Debugging macro include header | 9 | * Debugging macro include header |
13 | */ | 10 | */ |
14 | #include <generated/asm-offsets.h> | 11 | #include <generated/asm-offsets.h> |
diff --git a/arch/unicore32/kernel/debug.S b/arch/unicore32/kernel/debug.S index 029fd12f6ab0..13bc8c8550e4 100644 --- a/arch/unicore32/kernel/debug.S +++ b/arch/unicore32/kernel/debug.S | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/debug.S | 3 | * linux/arch/unicore32/kernel/debug.S |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | 8 | * |
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | * | ||
12 | * 32-bit debugging code | 9 | * 32-bit debugging code |
13 | */ | 10 | */ |
14 | #include <linux/linkage.h> | 11 | #include <linux/linkage.h> |
diff --git a/arch/unicore32/kernel/dma.c b/arch/unicore32/kernel/dma.c index ed2d4d78d9c4..7a0e2d4d6077 100644 --- a/arch/unicore32/kernel/dma.c +++ b/arch/unicore32/kernel/dma.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/dma.c | 3 | * linux/arch/unicore32/kernel/dma.c |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> | 7 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> |
7 | * Copyright (C) 2001-2010 Guan Xuetao | 8 | * Copyright (C) 2001-2010 Guan Xuetao |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/arch/unicore32/kernel/early_printk.c b/arch/unicore32/kernel/early_printk.c index f2f6323c8d64..c00b6712b8f7 100644 --- a/arch/unicore32/kernel/early_printk.c +++ b/arch/unicore32/kernel/early_printk.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/early_printk.c | 3 | * linux/arch/unicore32/kernel/early_printk.c |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #include <linux/console.h> | 9 | #include <linux/console.h> |
13 | #include <linux/init.h> | 10 | #include <linux/init.h> |
diff --git a/arch/unicore32/kernel/elf.c b/arch/unicore32/kernel/elf.c index 0a176734fefa..22adc65a03e9 100644 --- a/arch/unicore32/kernel/elf.c +++ b/arch/unicore32/kernel/elf.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/elf.c | 3 | * linux/arch/unicore32/kernel/elf.c |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
13 | #include <linux/sched.h> | 10 | #include <linux/sched.h> |
diff --git a/arch/unicore32/kernel/entry.S b/arch/unicore32/kernel/entry.S index bcdedd80890e..b35dc83069cb 100644 --- a/arch/unicore32/kernel/entry.S +++ b/arch/unicore32/kernel/entry.S | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/entry.S | 3 | * linux/arch/unicore32/kernel/entry.S |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | 8 | * |
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | * | ||
12 | * Low-level vector interface routines | 9 | * Low-level vector interface routines |
13 | */ | 10 | */ |
14 | #include <linux/init.h> | 11 | #include <linux/init.h> |
diff --git a/arch/unicore32/kernel/fpu-ucf64.c b/arch/unicore32/kernel/fpu-ucf64.c index fc5dad32a982..85f0af29d29b 100644 --- a/arch/unicore32/kernel/fpu-ucf64.c +++ b/arch/unicore32/kernel/fpu-ucf64.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/fpu-ucf64.c | 3 | * linux/arch/unicore32/kernel/fpu-ucf64.c |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
13 | #include <linux/types.h> | 10 | #include <linux/types.h> |
diff --git a/arch/unicore32/kernel/gpio.c b/arch/unicore32/kernel/gpio.c index bf164bb4dba2..36d395b54b7c 100644 --- a/arch/unicore32/kernel/gpio.c +++ b/arch/unicore32/kernel/gpio.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/gpio.c | 3 | * linux/arch/unicore32/kernel/gpio.c |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> | 7 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> |
7 | * Copyright (C) 2001-2010 Guan Xuetao | 8 | * Copyright (C) 2001-2010 Guan Xuetao |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | /* in FPGA, no GPIO support */ | 10 | /* in FPGA, no GPIO support */ |
14 | 11 | ||
diff --git a/arch/unicore32/kernel/head.S b/arch/unicore32/kernel/head.S index e8f0b98c02ee..9bbb8668f9f7 100644 --- a/arch/unicore32/kernel/head.S +++ b/arch/unicore32/kernel/head.S | |||
@@ -1,13 +1,10 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/head.S | 3 | * linux/arch/unicore32/kernel/head.S |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #include <linux/linkage.h> | 9 | #include <linux/linkage.h> |
13 | #include <linux/init.h> | 10 | #include <linux/init.h> |
diff --git a/arch/unicore32/kernel/hibernate.c b/arch/unicore32/kernel/hibernate.c index 29b71c68eb7c..f3812245cc00 100644 --- a/arch/unicore32/kernel/hibernate.c +++ b/arch/unicore32/kernel/hibernate.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/hibernate.c | 3 | * linux/arch/unicore32/kernel/hibernate.c |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> | 7 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> |
7 | * Copyright (C) 2001-2010 Guan Xuetao | 8 | * Copyright (C) 2001-2010 Guan Xuetao |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/gfp.h> | 11 | #include <linux/gfp.h> |
diff --git a/arch/unicore32/kernel/hibernate_asm.S b/arch/unicore32/kernel/hibernate_asm.S index cc3c65253c8c..7e7499c49089 100644 --- a/arch/unicore32/kernel/hibernate_asm.S +++ b/arch/unicore32/kernel/hibernate_asm.S | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/hibernate_asm.S | 3 | * linux/arch/unicore32/kernel/hibernate_asm.S |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> | 7 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> |
7 | * Copyright (C) 2001-2010 Guan Xuetao | 8 | * Copyright (C) 2001-2010 Guan Xuetao |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/sys.h> | 11 | #include <linux/sys.h> |
diff --git a/arch/unicore32/kernel/irq.c b/arch/unicore32/kernel/irq.c index eb1fd0030359..d1129828c41e 100644 --- a/arch/unicore32/kernel/irq.c +++ b/arch/unicore32/kernel/irq.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/irq.c | 3 | * linux/arch/unicore32/kernel/irq.c |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #include <linux/kernel_stat.h> | 9 | #include <linux/kernel_stat.h> |
13 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/arch/unicore32/kernel/ksyms.c b/arch/unicore32/kernel/ksyms.c index dcc72ee1fcdb..f4b84872d640 100644 --- a/arch/unicore32/kernel/ksyms.c +++ b/arch/unicore32/kernel/ksyms.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/ksyms.c | 3 | * linux/arch/unicore32/kernel/ksyms.c |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
13 | #include <linux/sched.h> | 10 | #include <linux/sched.h> |
diff --git a/arch/unicore32/kernel/module.c b/arch/unicore32/kernel/module.c index e191b3448bd3..717ee1b78350 100644 --- a/arch/unicore32/kernel/module.c +++ b/arch/unicore32/kernel/module.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/module.c | 3 | * linux/arch/unicore32/kernel/module.c |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
13 | #include <linux/moduleloader.h> | 10 | #include <linux/moduleloader.h> |
diff --git a/arch/unicore32/kernel/pci.c b/arch/unicore32/kernel/pci.c index 9f26840e41b1..efa04a94dcdb 100644 --- a/arch/unicore32/kernel/pci.c +++ b/arch/unicore32/kernel/pci.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/pci.c | 3 | * linux/arch/unicore32/kernel/pci.c |
3 | * | 4 | * |
@@ -5,12 +6,7 @@ | |||
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | 8 | * |
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | * | ||
12 | * PCI bios-type initialisation for PCI machines | 9 | * PCI bios-type initialisation for PCI machines |
13 | * | ||
14 | */ | 10 | */ |
15 | #include <linux/module.h> | 11 | #include <linux/module.h> |
16 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
diff --git a/arch/unicore32/kernel/pm.c b/arch/unicore32/kernel/pm.c index 6f8164d91dc2..94b7f9df6c1a 100644 --- a/arch/unicore32/kernel/pm.c +++ b/arch/unicore32/kernel/pm.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/pm.c | 3 | * linux/arch/unicore32/kernel/pm.c |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> | 7 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> |
7 | * Copyright (C) 2001-2010 Guan Xuetao | 8 | * Copyright (C) 2001-2010 Guan Xuetao |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | #include <linux/init.h> | 10 | #include <linux/init.h> |
14 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/arch/unicore32/kernel/process.c b/arch/unicore32/kernel/process.c index 2bc10b8e9cf4..b4fd3a604a18 100644 --- a/arch/unicore32/kernel/process.c +++ b/arch/unicore32/kernel/process.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/process.c | 3 | * linux/arch/unicore32/kernel/process.c |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #include <stdarg.h> | 9 | #include <stdarg.h> |
13 | 10 | ||
diff --git a/arch/unicore32/kernel/ptrace.c b/arch/unicore32/kernel/ptrace.c index a102c2b4f358..0f216567b90a 100644 --- a/arch/unicore32/kernel/ptrace.c +++ b/arch/unicore32/kernel/ptrace.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/ptrace.c | 3 | * linux/arch/unicore32/kernel/ptrace.c |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | 8 | * |
8 | * By Ross Biro 1/23/92 | 9 | * By Ross Biro 1/23/92 |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
15 | #include <linux/ptrace.h> | 12 | #include <linux/ptrace.h> |
diff --git a/arch/unicore32/kernel/puv3-core.c b/arch/unicore32/kernel/puv3-core.c index 438dd2edba4f..78f12e627365 100644 --- a/arch/unicore32/kernel/puv3-core.c +++ b/arch/unicore32/kernel/puv3-core.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/puv3-core.c | 3 | * linux/arch/unicore32/kernel/puv3-core.c |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> | 7 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> |
7 | * Copyright (C) 2001-2010 Guan Xuetao | 8 | * Copyright (C) 2001-2010 Guan Xuetao |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/init.h> | 11 | #include <linux/init.h> |
diff --git a/arch/unicore32/kernel/puv3-nb0916.c b/arch/unicore32/kernel/puv3-nb0916.c index aab5f341dec0..a3bf2ffc54dd 100644 --- a/arch/unicore32/kernel/puv3-nb0916.c +++ b/arch/unicore32/kernel/puv3-nb0916.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/puv3-nb0916.c | 3 | * linux/arch/unicore32/kernel/puv3-nb0916.c |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> | 7 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> |
7 | * Copyright (C) 2001-2010 Guan Xuetao | 8 | * Copyright (C) 2001-2010 Guan Xuetao |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/init.h> | 11 | #include <linux/init.h> |
diff --git a/arch/unicore32/kernel/setup.c b/arch/unicore32/kernel/setup.c index d3239cf2e837..95ae3b54df68 100644 --- a/arch/unicore32/kernel/setup.c +++ b/arch/unicore32/kernel/setup.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/setup.c | 3 | * linux/arch/unicore32/kernel/setup.c |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
13 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/arch/unicore32/kernel/setup.h b/arch/unicore32/kernel/setup.h index f5c51b85ad24..e40d3603c7e7 100644 --- a/arch/unicore32/kernel/setup.h +++ b/arch/unicore32/kernel/setup.h | |||
@@ -1,13 +1,10 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/setup.h | 3 | * linux/arch/unicore32/kernel/setup.h |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #ifndef __UNICORE_KERNEL_SETUP_H__ | 9 | #ifndef __UNICORE_KERNEL_SETUP_H__ |
13 | #define __UNICORE_KERNEL_SETUP_H__ | 10 | #define __UNICORE_KERNEL_SETUP_H__ |
diff --git a/arch/unicore32/kernel/signal.c b/arch/unicore32/kernel/signal.c index 63be04809d40..e62f82bd1339 100644 --- a/arch/unicore32/kernel/signal.c +++ b/arch/unicore32/kernel/signal.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/signal.c | 3 | * linux/arch/unicore32/kernel/signal.c |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #include <linux/errno.h> | 9 | #include <linux/errno.h> |
13 | #include <linux/signal.h> | 10 | #include <linux/signal.h> |
diff --git a/arch/unicore32/kernel/sleep.S b/arch/unicore32/kernel/sleep.S index 607a104aec59..23151abe53c6 100644 --- a/arch/unicore32/kernel/sleep.S +++ b/arch/unicore32/kernel/sleep.S | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/sleep.S | 3 | * linux/arch/unicore32/kernel/sleep.S |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> | 7 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> |
7 | * Copyright (C) 2001-2010 Guan Xuetao | 8 | * Copyright (C) 2001-2010 Guan Xuetao |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/linkage.h> | 11 | #include <linux/linkage.h> |
diff --git a/arch/unicore32/kernel/stacktrace.c b/arch/unicore32/kernel/stacktrace.c index e37da8c6837b..c9d8650e9d78 100644 --- a/arch/unicore32/kernel/stacktrace.c +++ b/arch/unicore32/kernel/stacktrace.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/stacktrace.c | 3 | * linux/arch/unicore32/kernel/stacktrace.c |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
13 | #include <linux/sched.h> | 10 | #include <linux/sched.h> |
diff --git a/arch/unicore32/kernel/sys.c b/arch/unicore32/kernel/sys.c index f9e862539314..256fb4082296 100644 --- a/arch/unicore32/kernel/sys.c +++ b/arch/unicore32/kernel/sys.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/sys.c | 3 | * linux/arch/unicore32/kernel/sys.c |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
13 | #include <linux/errno.h> | 10 | #include <linux/errno.h> |
diff --git a/arch/unicore32/kernel/time.c b/arch/unicore32/kernel/time.c index c6b3fa3ee0b6..8b217a761bf0 100644 --- a/arch/unicore32/kernel/time.c +++ b/arch/unicore32/kernel/time.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/time.c | 3 | * linux/arch/unicore32/kernel/time.c |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> | 7 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> |
7 | * Copyright (C) 2001-2010 Guan Xuetao | 8 | * Copyright (C) 2001-2010 Guan Xuetao |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | #include <linux/init.h> | 10 | #include <linux/init.h> |
14 | #include <linux/errno.h> | 11 | #include <linux/errno.h> |
diff --git a/arch/unicore32/kernel/traps.c b/arch/unicore32/kernel/traps.c index fb376d83e043..1c1f0ce20e19 100644 --- a/arch/unicore32/kernel/traps.c +++ b/arch/unicore32/kernel/traps.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/traps.c | 3 | * linux/arch/unicore32/kernel/traps.c |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | 8 | * |
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | * | ||
12 | * 'traps.c' handles hardware exceptions after we have saved some state. | 9 | * 'traps.c' handles hardware exceptions after we have saved some state. |
13 | * Mostly a debugging aid, but will probably kill the offending process. | 10 | * Mostly a debugging aid, but will probably kill the offending process. |
14 | */ | 11 | */ |
diff --git a/arch/unicore32/kernel/vmlinux.lds.S b/arch/unicore32/kernel/vmlinux.lds.S index 56e788e8ee83..7abf90537cd5 100644 --- a/arch/unicore32/kernel/vmlinux.lds.S +++ b/arch/unicore32/kernel/vmlinux.lds.S | |||
@@ -1,13 +1,10 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * linux/arch/unicore32/kernel/vmlinux.lds.S | 3 | * linux/arch/unicore32/kernel/vmlinux.lds.S |
3 | * | 4 | * |
4 | * Code specific to PKUnity SoC and UniCore ISA | 5 | * Code specific to PKUnity SoC and UniCore ISA |
5 | * | 6 | * |
6 | * Copyright (C) 2001-2010 GUAN Xue-tao | 7 | * Copyright (C) 2001-2010 GUAN Xue-tao |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <asm-generic/vmlinux.lds.h> | 10 | #include <asm-generic/vmlinux.lds.h> |