aboutsummaryrefslogtreecommitdiffstats
path: root/arch/unicore32
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-06-04 04:11:33 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-19 11:09:55 -0400
commitd2912cb15bdda8ba4a5dd73396ad62641af2f520 (patch)
treeff723089c8673e3f99df3ddcdaeae7a52bd6fdac /arch/unicore32
parent20c8ccb1975b8d5639789d1025ad6ada38bd6f48 (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')
-rw-r--r--arch/unicore32/boot/compressed/head.S5
-rw-r--r--arch/unicore32/boot/compressed/misc.c5
-rw-r--r--arch/unicore32/boot/compressed/vmlinux.lds.S5
-rw-r--r--arch/unicore32/include/asm/assembler.h5
-rw-r--r--arch/unicore32/include/asm/barrier.h5
-rw-r--r--arch/unicore32/include/asm/bitops.h5
-rw-r--r--arch/unicore32/include/asm/bug.h5
-rw-r--r--arch/unicore32/include/asm/cache.h5
-rw-r--r--arch/unicore32/include/asm/cacheflush.h5
-rw-r--r--arch/unicore32/include/asm/checksum.h5
-rw-r--r--arch/unicore32/include/asm/cmpxchg.h5
-rw-r--r--arch/unicore32/include/asm/cpu-single.h5
-rw-r--r--arch/unicore32/include/asm/cputype.h5
-rw-r--r--arch/unicore32/include/asm/delay.h5
-rw-r--r--arch/unicore32/include/asm/dma.h5
-rw-r--r--arch/unicore32/include/asm/elf.h5
-rw-r--r--arch/unicore32/include/asm/fpstate.h5
-rw-r--r--arch/unicore32/include/asm/fpu-ucf64.h5
-rw-r--r--arch/unicore32/include/asm/gpio.h5
-rw-r--r--arch/unicore32/include/asm/hwcap.h5
-rw-r--r--arch/unicore32/include/asm/hwdef-copro.h5
-rw-r--r--arch/unicore32/include/asm/io.h5
-rw-r--r--arch/unicore32/include/asm/irq.h5
-rw-r--r--arch/unicore32/include/asm/irqflags.h5
-rw-r--r--arch/unicore32/include/asm/linkage.h5
-rw-r--r--arch/unicore32/include/asm/memblock.h5
-rw-r--r--arch/unicore32/include/asm/memory.h5
-rw-r--r--arch/unicore32/include/asm/mmu.h5
-rw-r--r--arch/unicore32/include/asm/mmu_context.h5
-rw-r--r--arch/unicore32/include/asm/page.h5
-rw-r--r--arch/unicore32/include/asm/pci.h5
-rw-r--r--arch/unicore32/include/asm/pgalloc.h5
-rw-r--r--arch/unicore32/include/asm/pgtable-hwdef.h5
-rw-r--r--arch/unicore32/include/asm/pgtable.h5
-rw-r--r--arch/unicore32/include/asm/processor.h5
-rw-r--r--arch/unicore32/include/asm/ptrace.h5
-rw-r--r--arch/unicore32/include/asm/stacktrace.h5
-rw-r--r--arch/unicore32/include/asm/string.h5
-rw-r--r--arch/unicore32/include/asm/suspend.h5
-rw-r--r--arch/unicore32/include/asm/switch_to.h5
-rw-r--r--arch/unicore32/include/asm/thread_info.h5
-rw-r--r--arch/unicore32/include/asm/timex.h5
-rw-r--r--arch/unicore32/include/asm/tlb.h5
-rw-r--r--arch/unicore32/include/asm/tlbflush.h5
-rw-r--r--arch/unicore32/include/asm/traps.h5
-rw-r--r--arch/unicore32/include/asm/uaccess.h5
-rw-r--r--arch/unicore32/include/mach/PKUnity.h5
-rw-r--r--arch/unicore32/include/mach/bitfield.h5
-rw-r--r--arch/unicore32/include/mach/dma.h5
-rw-r--r--arch/unicore32/include/mach/hardware.h5
-rw-r--r--arch/unicore32/include/mach/map.h5
-rw-r--r--arch/unicore32/include/mach/memory.h5
-rw-r--r--arch/unicore32/include/mach/ocd.h5
-rw-r--r--arch/unicore32/include/mach/pm.h5
-rw-r--r--arch/unicore32/include/mach/uncompress.h5
-rw-r--r--arch/unicore32/kernel/asm-offsets.c5
-rw-r--r--arch/unicore32/kernel/clock.c5
-rw-r--r--arch/unicore32/kernel/debug-macro.S5
-rw-r--r--arch/unicore32/kernel/debug.S5
-rw-r--r--arch/unicore32/kernel/dma.c5
-rw-r--r--arch/unicore32/kernel/early_printk.c5
-rw-r--r--arch/unicore32/kernel/elf.c5
-rw-r--r--arch/unicore32/kernel/entry.S5
-rw-r--r--arch/unicore32/kernel/fpu-ucf64.c5
-rw-r--r--arch/unicore32/kernel/gpio.c5
-rw-r--r--arch/unicore32/kernel/head.S5
-rw-r--r--arch/unicore32/kernel/hibernate.c5
-rw-r--r--arch/unicore32/kernel/hibernate_asm.S5
-rw-r--r--arch/unicore32/kernel/irq.c5
-rw-r--r--arch/unicore32/kernel/ksyms.c5
-rw-r--r--arch/unicore32/kernel/module.c5
-rw-r--r--arch/unicore32/kernel/pci.c6
-rw-r--r--arch/unicore32/kernel/pm.c5
-rw-r--r--arch/unicore32/kernel/process.c5
-rw-r--r--arch/unicore32/kernel/ptrace.c5
-rw-r--r--arch/unicore32/kernel/puv3-core.c5
-rw-r--r--arch/unicore32/kernel/puv3-nb0916.c5
-rw-r--r--arch/unicore32/kernel/setup.c5
-rw-r--r--arch/unicore32/kernel/setup.h5
-rw-r--r--arch/unicore32/kernel/signal.c5
-rw-r--r--arch/unicore32/kernel/sleep.S5
-rw-r--r--arch/unicore32/kernel/stacktrace.c5
-rw-r--r--arch/unicore32/kernel/sys.c5
-rw-r--r--arch/unicore32/kernel/time.c5
-rw-r--r--arch/unicore32/kernel/traps.c5
-rw-r--r--arch/unicore32/kernel/vmlinux.lds.S5
-rw-r--r--arch/unicore32/lib/backtrace.S5
-rw-r--r--arch/unicore32/lib/clear_user.S5
-rw-r--r--arch/unicore32/lib/copy_from_user.S5
-rw-r--r--arch/unicore32/lib/copy_page.S5
-rw-r--r--arch/unicore32/lib/copy_template.S5
-rw-r--r--arch/unicore32/lib/copy_to_user.S5
-rw-r--r--arch/unicore32/lib/delay.S5
-rw-r--r--arch/unicore32/lib/findbit.S5
-rw-r--r--arch/unicore32/lib/strncpy_from_user.S5
-rw-r--r--arch/unicore32/lib/strnlen_user.S5
-rw-r--r--arch/unicore32/mm/alignment.c5
-rw-r--r--arch/unicore32/mm/cache-ucv2.S5
-rw-r--r--arch/unicore32/mm/extable.c5
-rw-r--r--arch/unicore32/mm/fault.c5
-rw-r--r--arch/unicore32/mm/flush.c5
-rw-r--r--arch/unicore32/mm/init.c5
-rw-r--r--arch/unicore32/mm/ioremap.c6
-rw-r--r--arch/unicore32/mm/mm.h5
-rw-r--r--arch/unicore32/mm/mmu.c5
-rw-r--r--arch/unicore32/mm/pgd.c5
-rw-r--r--arch/unicore32/mm/proc-macros.S5
-rw-r--r--arch/unicore32/mm/proc-syms.c5
-rw-r--r--arch/unicore32/mm/proc-ucv2.S5
-rw-r--r--arch/unicore32/mm/tlb-ucv2.S5
110 files changed, 110 insertions, 442 deletions
diff --git a/arch/unicore32/boot/compressed/head.S b/arch/unicore32/boot/compressed/head.S
index fbd1e374c685..5f72662cd294 100644
--- a/arch/unicore32/boot/compressed/head.S
+++ b/arch/unicore32/boot/compressed/head.S
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/boot/compressed/head.S 3 * linux/arch/unicore32/boot/compressed/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 <mach/memory.h> 10#include <mach/memory.h>
diff --git a/arch/unicore32/boot/compressed/misc.c b/arch/unicore32/boot/compressed/misc.c
index 5c65dfee278c..450d3355de20 100644
--- a/arch/unicore32/boot/compressed/misc.c
+++ b/arch/unicore32/boot/compressed/misc.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/unicore32/boot/compressed/misc.c 3 * linux/arch/unicore32/boot/compressed/misc.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 9
13#include <asm/unaligned.h> 10#include <asm/unaligned.h>
diff --git a/arch/unicore32/boot/compressed/vmlinux.lds.S b/arch/unicore32/boot/compressed/vmlinux.lds.S
index d5a3ce296239..edda4ddfa357 100644
--- a/arch/unicore32/boot/compressed/vmlinux.lds.S
+++ b/arch/unicore32/boot/compressed/vmlinux.lds.S
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore/boot/compressed/vmlinux.lds.in 3 * linux/arch/unicore/boot/compressed/vmlinux.lds.in
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 */
12OUTPUT_ARCH(unicore32) 9OUTPUT_ARCH(unicore32)
13ENTRY(_start) 10ENTRY(_start)
diff --git a/arch/unicore32/include/asm/assembler.h b/arch/unicore32/include/asm/assembler.h
index 8e87ed7faeba..3de843d92850 100644
--- a/arch/unicore32/include/asm/assembler.h
+++ b/arch/unicore32/include/asm/assembler.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/assembler.h 3 * linux/arch/unicore32/include/asm/assembler.h
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 * Do not include any C declarations in this file - it is included by 9 * Do not include any C declarations in this file - it is included by
13 * assembler source. 10 * assembler source.
14 */ 11 */
diff --git a/arch/unicore32/include/asm/barrier.h b/arch/unicore32/include/asm/barrier.h
index 83d6a520f4bd..efb81de87507 100644
--- a/arch/unicore32/include/asm/barrier.h
+++ b/arch/unicore32/include/asm/barrier.h
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Memory barrier implementations for PKUnity SoC and UniCore ISA 3 * Memory barrier implementations for PKUnity SoC and UniCore ISA
3 * 4 *
4 * Copyright (C) 2001-2012 GUAN Xue-tao 5 * Copyright (C) 2001-2012 GUAN Xue-tao
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */ 6 */
10#ifndef __UNICORE_BARRIER_H__ 7#ifndef __UNICORE_BARRIER_H__
11#define __UNICORE_BARRIER_H__ 8#define __UNICORE_BARRIER_H__
diff --git a/arch/unicore32/include/asm/bitops.h b/arch/unicore32/include/asm/bitops.h
index de5853761c22..deeb2163f35e 100644
--- a/arch/unicore32/include/asm/bitops.h
+++ b/arch/unicore32/include/asm/bitops.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/bitops.h 3 * linux/arch/unicore32/include/asm/bitops.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 9
13#ifndef __UNICORE_BITOPS_H__ 10#ifndef __UNICORE_BITOPS_H__
diff --git a/arch/unicore32/include/asm/bug.h b/arch/unicore32/include/asm/bug.h
index 83c7687a0e61..99acea84a865 100644
--- a/arch/unicore32/include/asm/bug.h
+++ b/arch/unicore32/include/asm/bug.h
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Bug handling for PKUnity SoC and UniCore ISA 3 * Bug handling for PKUnity SoC and UniCore ISA
3 * 4 *
4 * Copyright (C) 2001-2012 GUAN Xue-tao 5 * Copyright (C) 2001-2012 GUAN Xue-tao
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */ 6 */
10#ifndef __UNICORE_BUG_H__ 7#ifndef __UNICORE_BUG_H__
11#define __UNICORE_BUG_H__ 8#define __UNICORE_BUG_H__
diff --git a/arch/unicore32/include/asm/cache.h b/arch/unicore32/include/asm/cache.h
index ad8f795d86ca..44ecd1f300fe 100644
--- a/arch/unicore32/include/asm/cache.h
+++ b/arch/unicore32/include/asm/cache.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/cache.h 3 * linux/arch/unicore32/include/asm/cache.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_CACHE_H__ 9#ifndef __UNICORE_CACHE_H__
13#define __UNICORE_CACHE_H__ 10#define __UNICORE_CACHE_H__
diff --git a/arch/unicore32/include/asm/cacheflush.h b/arch/unicore32/include/asm/cacheflush.h
index 1c8b9f13a9e1..dc8c0b41538f 100644
--- a/arch/unicore32/include/asm/cacheflush.h
+++ b/arch/unicore32/include/asm/cacheflush.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/cacheflush.h 3 * linux/arch/unicore32/include/asm/cacheflush.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_CACHEFLUSH_H__ 9#ifndef __UNICORE_CACHEFLUSH_H__
13#define __UNICORE_CACHEFLUSH_H__ 10#define __UNICORE_CACHEFLUSH_H__
diff --git a/arch/unicore32/include/asm/checksum.h b/arch/unicore32/include/asm/checksum.h
index 23ceb9e3a89b..e774ca268c15 100644
--- a/arch/unicore32/include/asm/checksum.h
+++ b/arch/unicore32/include/asm/checksum.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/checksum.h 3 * linux/arch/unicore32/include/asm/checksum.h
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 * IP checksum routines 9 * IP checksum routines
13 */ 10 */
14#ifndef __UNICORE_CHECKSUM_H__ 11#ifndef __UNICORE_CHECKSUM_H__
diff --git a/arch/unicore32/include/asm/cmpxchg.h b/arch/unicore32/include/asm/cmpxchg.h
index 8e797ad4fa24..87f960a2e4f0 100644
--- a/arch/unicore32/include/asm/cmpxchg.h
+++ b/arch/unicore32/include/asm/cmpxchg.h
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Atomics xchg/cmpxchg for PKUnity SoC and UniCore ISA 3 * Atomics xchg/cmpxchg for PKUnity SoC and UniCore ISA
3 * 4 *
4 * Copyright (C) 2001-2012 GUAN Xue-tao 5 * Copyright (C) 2001-2012 GUAN Xue-tao
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */ 6 */
10#ifndef __UNICORE_CMPXCHG_H__ 7#ifndef __UNICORE_CMPXCHG_H__
11#define __UNICORE_CMPXCHG_H__ 8#define __UNICORE_CMPXCHG_H__
diff --git a/arch/unicore32/include/asm/cpu-single.h b/arch/unicore32/include/asm/cpu-single.h
index 0f55d1823439..1b419d697fd1 100644
--- a/arch/unicore32/include/asm/cpu-single.h
+++ b/arch/unicore32/include/asm/cpu-single.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/cpu-single.h 3 * linux/arch/unicore32/include/asm/cpu-single.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_CPU_SINGLE_H__ 9#ifndef __UNICORE_CPU_SINGLE_H__
13#define __UNICORE_CPU_SINGLE_H__ 10#define __UNICORE_CPU_SINGLE_H__
diff --git a/arch/unicore32/include/asm/cputype.h b/arch/unicore32/include/asm/cputype.h
index ec1a30f98077..08a47e3bdbcc 100644
--- a/arch/unicore32/include/asm/cputype.h
+++ b/arch/unicore32/include/asm/cputype.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/cputype.h 3 * linux/arch/unicore32/include/asm/cputype.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_CPUTYPE_H__ 9#ifndef __UNICORE_CPUTYPE_H__
13#define __UNICORE_CPUTYPE_H__ 10#define __UNICORE_CPUTYPE_H__
diff --git a/arch/unicore32/include/asm/delay.h b/arch/unicore32/include/asm/delay.h
index 164ae61cd6f7..934193edfa66 100644
--- a/arch/unicore32/include/asm/delay.h
+++ b/arch/unicore32/include/asm/delay.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/delay.h 3 * linux/arch/unicore32/include/asm/delay.h
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 * Delay routines, using a pre-computed "loops_per_second" value. 9 * Delay routines, using a pre-computed "loops_per_second" value.
13 */ 10 */
14#ifndef __UNICORE_DELAY_H__ 11#ifndef __UNICORE_DELAY_H__
diff --git a/arch/unicore32/include/asm/dma.h b/arch/unicore32/include/asm/dma.h
index 38dfff9df32f..1326310b21e6 100644
--- a/arch/unicore32/include/asm/dma.h
+++ b/arch/unicore32/include/asm/dma.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/dma.h 3 * linux/arch/unicore32/include/asm/dma.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 9
13#ifndef __UNICORE_DMA_H__ 10#ifndef __UNICORE_DMA_H__
diff --git a/arch/unicore32/include/asm/elf.h b/arch/unicore32/include/asm/elf.h
index ae66dc1be49e..a464ed5f05d4 100644
--- a/arch/unicore32/include/asm/elf.h
+++ b/arch/unicore32/include/asm/elf.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/elf.h 3 * linux/arch/unicore32/include/asm/elf.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 9
13#ifndef __UNICORE_ELF_H__ 10#ifndef __UNICORE_ELF_H__
diff --git a/arch/unicore32/include/asm/fpstate.h b/arch/unicore32/include/asm/fpstate.h
index ba97fac6220d..5811293e7a7e 100644
--- a/arch/unicore32/include/asm/fpstate.h
+++ b/arch/unicore32/include/asm/fpstate.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/fpstate.h 3 * linux/arch/unicore32/include/asm/fpstate.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 9
13#ifndef __UNICORE_FPSTATE_H__ 10#ifndef __UNICORE_FPSTATE_H__
diff --git a/arch/unicore32/include/asm/fpu-ucf64.h b/arch/unicore32/include/asm/fpu-ucf64.h
index 16c1457882ee..7a0c8a9e05d4 100644
--- a/arch/unicore32/include/asm/fpu-ucf64.h
+++ b/arch/unicore32/include/asm/fpu-ucf64.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/fpu-ucf64.h 3 * linux/arch/unicore32/include/asm/fpu-ucf64.h
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#define FPSCR s31 10#define FPSCR s31
14 11
diff --git a/arch/unicore32/include/asm/gpio.h b/arch/unicore32/include/asm/gpio.h
index 2716f14e3ff6..dfad04ca0a65 100644
--- a/arch/unicore32/include/asm/gpio.h
+++ b/arch/unicore32/include/asm/gpio.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/gpio.h 3 * linux/arch/unicore32/include/asm/gpio.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 9
13#ifndef __UNICORE_GPIO_H__ 10#ifndef __UNICORE_GPIO_H__
diff --git a/arch/unicore32/include/asm/hwcap.h b/arch/unicore32/include/asm/hwcap.h
index 97bd40fdd4ac..2e15ffbe8391 100644
--- a/arch/unicore32/include/asm/hwcap.h
+++ b/arch/unicore32/include/asm/hwcap.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/hwcap.h 3 * linux/arch/unicore32/include/asm/hwcap.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_HWCAP_H__ 9#ifndef __UNICORE_HWCAP_H__
13#define __UNICORE_HWCAP_H__ 10#define __UNICORE_HWCAP_H__
diff --git a/arch/unicore32/include/asm/hwdef-copro.h b/arch/unicore32/include/asm/hwdef-copro.h
index a3292f039a68..2db8cf864e43 100644
--- a/arch/unicore32/include/asm/hwdef-copro.h
+++ b/arch/unicore32/include/asm/hwdef-copro.h
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Co-processor register definitions for PKUnity SoC and UniCore ISA 3 * Co-processor register definitions for PKUnity SoC and UniCore ISA
3 * 4 *
4 * Copyright (C) 2001-2012 GUAN Xue-tao 5 * Copyright (C) 2001-2012 GUAN Xue-tao
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */ 6 */
10#ifndef __UNICORE_HWDEF_COPRO_H__ 7#ifndef __UNICORE_HWDEF_COPRO_H__
11#define __UNICORE_HWDEF_COPRO_H__ 8#define __UNICORE_HWDEF_COPRO_H__
diff --git a/arch/unicore32/include/asm/io.h b/arch/unicore32/include/asm/io.h
index cb1d8fd2b16b..c71aa4b95996 100644
--- a/arch/unicore32/include/asm/io.h
+++ b/arch/unicore32/include/asm/io.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/io.h 3 * linux/arch/unicore32/include/asm/io.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_IO_H__ 9#ifndef __UNICORE_IO_H__
13#define __UNICORE_IO_H__ 10#define __UNICORE_IO_H__
diff --git a/arch/unicore32/include/asm/irq.h b/arch/unicore32/include/asm/irq.h
index baea93e2a6e6..3f7f07c0338c 100644
--- a/arch/unicore32/include/asm/irq.h
+++ b/arch/unicore32/include/asm/irq.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/irq.h 3 * linux/arch/unicore32/include/asm/irq.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_IRQ_H__ 9#ifndef __UNICORE_IRQ_H__
13#define __UNICORE_IRQ_H__ 10#define __UNICORE_IRQ_H__
diff --git a/arch/unicore32/include/asm/irqflags.h b/arch/unicore32/include/asm/irqflags.h
index 6d8a28dfdbae..f64c82e3eae6 100644
--- a/arch/unicore32/include/asm/irqflags.h
+++ b/arch/unicore32/include/asm/irqflags.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/irqflags.h 3 * linux/arch/unicore32/include/asm/irqflags.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_IRQFLAGS_H__ 9#ifndef __UNICORE_IRQFLAGS_H__
13#define __UNICORE_IRQFLAGS_H__ 10#define __UNICORE_IRQFLAGS_H__
diff --git a/arch/unicore32/include/asm/linkage.h b/arch/unicore32/include/asm/linkage.h
index d1618bd35b67..8e341ba7bc4a 100644
--- a/arch/unicore32/include/asm/linkage.h
+++ b/arch/unicore32/include/asm/linkage.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/linkage.h 3 * linux/arch/unicore32/include/asm/linkage.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_LINKAGE_H__ 9#ifndef __UNICORE_LINKAGE_H__
13#define __UNICORE_LINKAGE_H__ 10#define __UNICORE_LINKAGE_H__
diff --git a/arch/unicore32/include/asm/memblock.h b/arch/unicore32/include/asm/memblock.h
index a8a5d8d0a26e..eb56a6ddce83 100644
--- a/arch/unicore32/include/asm/memblock.h
+++ b/arch/unicore32/include/asm/memblock.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/memblock.h 3 * linux/arch/unicore32/include/asm/memblock.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 9
13#ifndef __UNICORE_MEMBLOCK_H__ 10#ifndef __UNICORE_MEMBLOCK_H__
diff --git a/arch/unicore32/include/asm/memory.h b/arch/unicore32/include/asm/memory.h
index 46cf27efbb7e..23c93105f98f 100644
--- a/arch/unicore32/include/asm/memory.h
+++ b/arch/unicore32/include/asm/memory.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/memory.h 3 * linux/arch/unicore32/include/asm/memory.h
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 * Note: this file should not be included by non-asm/.h files 9 * Note: this file should not be included by non-asm/.h files
13 */ 10 */
14#ifndef __UNICORE_MEMORY_H__ 11#ifndef __UNICORE_MEMORY_H__
diff --git a/arch/unicore32/include/asm/mmu.h b/arch/unicore32/include/asm/mmu.h
index 66fa341dc2c6..8ad4e7eae17b 100644
--- a/arch/unicore32/include/asm/mmu.h
+++ b/arch/unicore32/include/asm/mmu.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/mmu.h 3 * linux/arch/unicore32/include/asm/mmu.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_MMU_H__ 9#ifndef __UNICORE_MMU_H__
13#define __UNICORE_MMU_H__ 10#define __UNICORE_MMU_H__
diff --git a/arch/unicore32/include/asm/mmu_context.h b/arch/unicore32/include/asm/mmu_context.h
index 9f06ea5466dd..247a07ae2cdc 100644
--- a/arch/unicore32/include/asm/mmu_context.h
+++ b/arch/unicore32/include/asm/mmu_context.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/mmu_context.h 3 * linux/arch/unicore32/include/asm/mmu_context.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_MMU_CONTEXT_H__ 9#ifndef __UNICORE_MMU_CONTEXT_H__
13#define __UNICORE_MMU_CONTEXT_H__ 10#define __UNICORE_MMU_CONTEXT_H__
diff --git a/arch/unicore32/include/asm/page.h b/arch/unicore32/include/asm/page.h
index 594b3226250e..8a89335673f9 100644
--- a/arch/unicore32/include/asm/page.h
+++ b/arch/unicore32/include/asm/page.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/page.h 3 * linux/arch/unicore32/include/asm/page.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_PAGE_H__ 9#ifndef __UNICORE_PAGE_H__
13#define __UNICORE_PAGE_H__ 10#define __UNICORE_PAGE_H__
diff --git a/arch/unicore32/include/asm/pci.h b/arch/unicore32/include/asm/pci.h
index ac5acdf4c4d0..3efa8ee1afce 100644
--- a/arch/unicore32/include/asm/pci.h
+++ b/arch/unicore32/include/asm/pci.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/pci.h 3 * linux/arch/unicore32/include/asm/pci.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_PCI_H__ 9#ifndef __UNICORE_PCI_H__
13#define __UNICORE_PCI_H__ 10#define __UNICORE_PCI_H__
diff --git a/arch/unicore32/include/asm/pgalloc.h b/arch/unicore32/include/asm/pgalloc.h
index 7cceabecf4e3..ec64834b1c6a 100644
--- a/arch/unicore32/include/asm/pgalloc.h
+++ b/arch/unicore32/include/asm/pgalloc.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/pgalloc.h 3 * linux/arch/unicore32/include/asm/pgalloc.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_PGALLOC_H__ 9#ifndef __UNICORE_PGALLOC_H__
13#define __UNICORE_PGALLOC_H__ 10#define __UNICORE_PGALLOC_H__
diff --git a/arch/unicore32/include/asm/pgtable-hwdef.h b/arch/unicore32/include/asm/pgtable-hwdef.h
index e37fa471c2be..f28b58c61db9 100644
--- a/arch/unicore32/include/asm/pgtable-hwdef.h
+++ b/arch/unicore32/include/asm/pgtable-hwdef.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/pgtable-hwdef.h 3 * linux/arch/unicore32/include/asm/pgtable-hwdef.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_PGTABLE_HWDEF_H__ 9#ifndef __UNICORE_PGTABLE_HWDEF_H__
13#define __UNICORE_PGTABLE_HWDEF_H__ 10#define __UNICORE_PGTABLE_HWDEF_H__
diff --git a/arch/unicore32/include/asm/pgtable.h b/arch/unicore32/include/asm/pgtable.h
index a4f2bef37e70..9492aa304f03 100644
--- a/arch/unicore32/include/asm/pgtable.h
+++ b/arch/unicore32/include/asm/pgtable.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/pgtable.h 3 * linux/arch/unicore32/include/asm/pgtable.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_PGTABLE_H__ 9#ifndef __UNICORE_PGTABLE_H__
13#define __UNICORE_PGTABLE_H__ 10#define __UNICORE_PGTABLE_H__
diff --git a/arch/unicore32/include/asm/processor.h b/arch/unicore32/include/asm/processor.h
index b772ed1c0f25..6f01620da3d1 100644
--- a/arch/unicore32/include/asm/processor.h
+++ b/arch/unicore32/include/asm/processor.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/processor.h 3 * linux/arch/unicore32/include/asm/processor.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 9
13#ifndef __UNICORE_PROCESSOR_H__ 10#ifndef __UNICORE_PROCESSOR_H__
diff --git a/arch/unicore32/include/asm/ptrace.h b/arch/unicore32/include/asm/ptrace.h
index 02bf5a415bf5..bb4cbc42c321 100644
--- a/arch/unicore32/include/asm/ptrace.h
+++ b/arch/unicore32/include/asm/ptrace.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/ptrace.h 3 * linux/arch/unicore32/include/asm/ptrace.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_PTRACE_H__ 9#ifndef __UNICORE_PTRACE_H__
13#define __UNICORE_PTRACE_H__ 10#define __UNICORE_PTRACE_H__
diff --git a/arch/unicore32/include/asm/stacktrace.h b/arch/unicore32/include/asm/stacktrace.h
index 76edc65a5871..3e59f9d2faed 100644
--- a/arch/unicore32/include/asm/stacktrace.h
+++ b/arch/unicore32/include/asm/stacktrace.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/stacktrace.h 3 * linux/arch/unicore32/include/asm/stacktrace.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 9
13#ifndef __UNICORE_STACKTRACE_H__ 10#ifndef __UNICORE_STACKTRACE_H__
diff --git a/arch/unicore32/include/asm/string.h b/arch/unicore32/include/asm/string.h
index 55264c84369a..1649b0e4271b 100644
--- a/arch/unicore32/include/asm/string.h
+++ b/arch/unicore32/include/asm/string.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/string.h 3 * linux/arch/unicore32/include/asm/string.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_STRING_H__ 9#ifndef __UNICORE_STRING_H__
13#define __UNICORE_STRING_H__ 10#define __UNICORE_STRING_H__
diff --git a/arch/unicore32/include/asm/suspend.h b/arch/unicore32/include/asm/suspend.h
index 65bad75c7e96..72bd89c44d10 100644
--- a/arch/unicore32/include/asm/suspend.h
+++ b/arch/unicore32/include/asm/suspend.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/suspend.h 3 * linux/arch/unicore32/include/asm/suspend.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 9
13#ifndef __UNICORE_SUSPEND_H__ 10#ifndef __UNICORE_SUSPEND_H__
diff --git a/arch/unicore32/include/asm/switch_to.h b/arch/unicore32/include/asm/switch_to.h
index 39572d2bd692..12e534b3bfa5 100644
--- a/arch/unicore32/include/asm/switch_to.h
+++ b/arch/unicore32/include/asm/switch_to.h
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Task switching for PKUnity SoC and UniCore ISA 3 * Task switching for PKUnity SoC and UniCore ISA
3 * 4 *
4 * Copyright (C) 2001-2012 GUAN Xue-tao 5 * Copyright (C) 2001-2012 GUAN Xue-tao
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */ 6 */
10#ifndef __UNICORE_SWITCH_TO_H__ 7#ifndef __UNICORE_SWITCH_TO_H__
11#define __UNICORE_SWITCH_TO_H__ 8#define __UNICORE_SWITCH_TO_H__
diff --git a/arch/unicore32/include/asm/thread_info.h b/arch/unicore32/include/asm/thread_info.h
index 5fb728f3b49a..d8a6d6b7a403 100644
--- a/arch/unicore32/include/asm/thread_info.h
+++ b/arch/unicore32/include/asm/thread_info.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/thread_info.h 3 * linux/arch/unicore32/include/asm/thread_info.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_THREAD_INFO_H__ 9#ifndef __UNICORE_THREAD_INFO_H__
13#define __UNICORE_THREAD_INFO_H__ 10#define __UNICORE_THREAD_INFO_H__
diff --git a/arch/unicore32/include/asm/timex.h b/arch/unicore32/include/asm/timex.h
index faf16ba46544..d714af3dbce1 100644
--- a/arch/unicore32/include/asm/timex.h
+++ b/arch/unicore32/include/asm/timex.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/timex.h 3 * linux/arch/unicore32/include/asm/timex.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 9
13#ifndef __UNICORE_TIMEX_H__ 10#ifndef __UNICORE_TIMEX_H__
diff --git a/arch/unicore32/include/asm/tlb.h b/arch/unicore32/include/asm/tlb.h
index 00a8477333f6..10d2356bfddd 100644
--- a/arch/unicore32/include/asm/tlb.h
+++ b/arch/unicore32/include/asm/tlb.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/tlb.h 3 * linux/arch/unicore32/include/asm/tlb.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_TLB_H__ 9#ifndef __UNICORE_TLB_H__
13#define __UNICORE_TLB_H__ 10#define __UNICORE_TLB_H__
diff --git a/arch/unicore32/include/asm/tlbflush.h b/arch/unicore32/include/asm/tlbflush.h
index e446ac8bb9e5..1cf18ef55515 100644
--- a/arch/unicore32/include/asm/tlbflush.h
+++ b/arch/unicore32/include/asm/tlbflush.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/tlbflush.h 3 * linux/arch/unicore32/include/asm/tlbflush.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_TLBFLUSH_H__ 9#ifndef __UNICORE_TLBFLUSH_H__
13#define __UNICORE_TLBFLUSH_H__ 10#define __UNICORE_TLBFLUSH_H__
diff --git a/arch/unicore32/include/asm/traps.h b/arch/unicore32/include/asm/traps.h
index 66e17a724bfe..ad1508a9a903 100644
--- a/arch/unicore32/include/asm/traps.h
+++ b/arch/unicore32/include/asm/traps.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/traps.h 3 * linux/arch/unicore32/include/asm/traps.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_TRAP_H__ 9#ifndef __UNICORE_TRAP_H__
13#define __UNICORE_TRAP_H__ 10#define __UNICORE_TRAP_H__
diff --git a/arch/unicore32/include/asm/uaccess.h b/arch/unicore32/include/asm/uaccess.h
index 1d55f2f83759..33c24f430511 100644
--- a/arch/unicore32/include/asm/uaccess.h
+++ b/arch/unicore32/include/asm/uaccess.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/asm/uaccess.h 3 * linux/arch/unicore32/include/asm/uaccess.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_UACCESS_H__ 9#ifndef __UNICORE_UACCESS_H__
13#define __UNICORE_UACCESS_H__ 10#define __UNICORE_UACCESS_H__
diff --git a/arch/unicore32/include/mach/PKUnity.h b/arch/unicore32/include/mach/PKUnity.h
index 46705afcbf5a..78f77517c1c7 100644
--- a/arch/unicore32/include/mach/PKUnity.h
+++ b/arch/unicore32/include/mach/PKUnity.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/mach/PKUnity.h 3 * linux/arch/unicore32/include/mach/PKUnity.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 9
13/* Be sure that virtual mapping is defined right */ 10/* Be sure that virtual mapping is defined right */
diff --git a/arch/unicore32/include/mach/bitfield.h b/arch/unicore32/include/mach/bitfield.h
index 128a70281efc..766b7f01f1cd 100644
--- a/arch/unicore32/include/mach/bitfield.h
+++ b/arch/unicore32/include/mach/bitfield.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/mach/bitfield.h 3 * linux/arch/unicore32/include/mach/bitfield.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 __MACH_PUV3_BITFIELD_H__ 9#ifndef __MACH_PUV3_BITFIELD_H__
13#define __MACH_PUV3_BITFIELD_H__ 10#define __MACH_PUV3_BITFIELD_H__
diff --git a/arch/unicore32/include/mach/dma.h b/arch/unicore32/include/mach/dma.h
index d655c1b6e083..271001cd13c4 100644
--- a/arch/unicore32/include/mach/dma.h
+++ b/arch/unicore32/include/mach/dma.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/mach/dma.h 3 * linux/arch/unicore32/include/mach/dma.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 __MACH_PUV3_DMA_H__ 9#ifndef __MACH_PUV3_DMA_H__
13#define __MACH_PUV3_DMA_H__ 10#define __MACH_PUV3_DMA_H__
diff --git a/arch/unicore32/include/mach/hardware.h b/arch/unicore32/include/mach/hardware.h
index 25146232c7cf..2d7571cbd1d0 100644
--- a/arch/unicore32/include/mach/hardware.h
+++ b/arch/unicore32/include/mach/hardware.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/mach/hardware.h 3 * linux/arch/unicore32/include/mach/hardware.h
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 * This file contains the hardware definitions for PKUnity architecture 9 * This file contains the hardware definitions for PKUnity architecture
13 */ 10 */
14 11
diff --git a/arch/unicore32/include/mach/map.h b/arch/unicore32/include/mach/map.h
index 55c936573741..7a83eeeb1287 100644
--- a/arch/unicore32/include/mach/map.h
+++ b/arch/unicore32/include/mach/map.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/mach/map.h 3 * linux/arch/unicore32/include/mach/map.h
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 * Page table mapping constructs and function prototypes 9 * Page table mapping constructs and function prototypes
13 */ 10 */
14#define MT_DEVICE 0 11#define MT_DEVICE 0
diff --git a/arch/unicore32/include/mach/memory.h b/arch/unicore32/include/mach/memory.h
index 4be72c21d491..2b527cedd03d 100644
--- a/arch/unicore32/include/mach/memory.h
+++ b/arch/unicore32/include/mach/memory.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/mach/memory.h 3 * linux/arch/unicore32/include/mach/memory.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 __MACH_PUV3_MEMORY_H__ 9#ifndef __MACH_PUV3_MEMORY_H__
13#define __MACH_PUV3_MEMORY_H__ 10#define __MACH_PUV3_MEMORY_H__
diff --git a/arch/unicore32/include/mach/ocd.h b/arch/unicore32/include/mach/ocd.h
index 189fd71bfa34..2a814929e389 100644
--- a/arch/unicore32/include/mach/ocd.h
+++ b/arch/unicore32/include/mach/ocd.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/mach/ocd.h 3 * linux/arch/unicore32/include/mach/ocd.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 9
13#ifndef __MACH_PUV3_OCD_H__ 10#ifndef __MACH_PUV3_OCD_H__
diff --git a/arch/unicore32/include/mach/pm.h b/arch/unicore32/include/mach/pm.h
index 77b522694e74..cb40b8490a57 100644
--- a/arch/unicore32/include/mach/pm.h
+++ b/arch/unicore32/include/mach/pm.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore/include/mach/pm.h 3 * linux/arch/unicore/include/mach/pm.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 __PUV3_PM_H__ 9#ifndef __PUV3_PM_H__
13#define __PUV3_PM_H__ 10#define __PUV3_PM_H__
diff --git a/arch/unicore32/include/mach/uncompress.h b/arch/unicore32/include/mach/uncompress.h
index 9be67c9d3b53..0c1a56a1913f 100644
--- a/arch/unicore32/include/mach/uncompress.h
+++ b/arch/unicore32/include/mach/uncompress.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/include/mach/uncompress.h 3 * linux/arch/unicore32/include/mach/uncompress.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 9
13#ifndef __MACH_PUV3_UNCOMPRESS_H__ 10#ifndef __MACH_PUV3_UNCOMPRESS_H__
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>
diff --git a/arch/unicore32/lib/backtrace.S b/arch/unicore32/lib/backtrace.S
index ef01d77f2f65..f303671e2a4e 100644
--- a/arch/unicore32/lib/backtrace.S
+++ b/arch/unicore32/lib/backtrace.S
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/lib/backtrace.S 3 * linux/arch/unicore32/lib/backtrace.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 <asm/assembler.h> 10#include <asm/assembler.h>
diff --git a/arch/unicore32/lib/clear_user.S b/arch/unicore32/lib/clear_user.S
index 20047f7224fd..c6ca431b1090 100644
--- a/arch/unicore32/lib/clear_user.S
+++ b/arch/unicore32/lib/clear_user.S
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/lib/clear_user.S 3 * linux/arch/unicore32/lib/clear_user.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 <asm/assembler.h> 10#include <asm/assembler.h>
diff --git a/arch/unicore32/lib/copy_from_user.S b/arch/unicore32/lib/copy_from_user.S
index 5f80fcbe8631..affb43920ac0 100644
--- a/arch/unicore32/lib/copy_from_user.S
+++ b/arch/unicore32/lib/copy_from_user.S
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/lib/copy_from_user.S 3 * linux/arch/unicore32/lib/copy_from_user.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 <linux/linkage.h> 10#include <linux/linkage.h>
diff --git a/arch/unicore32/lib/copy_page.S b/arch/unicore32/lib/copy_page.S
index 3a448d755ade..dc163f2d1af0 100644
--- a/arch/unicore32/lib/copy_page.S
+++ b/arch/unicore32/lib/copy_page.S
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/lib/copy_page.S 3 * linux/arch/unicore32/lib/copy_page.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 * ASM optimised string functions 9 * ASM optimised string functions
13 */ 10 */
14#include <linux/linkage.h> 11#include <linux/linkage.h>
diff --git a/arch/unicore32/lib/copy_template.S b/arch/unicore32/lib/copy_template.S
index 524287fc0120..02a7aef83fbf 100644
--- a/arch/unicore32/lib/copy_template.S
+++ b/arch/unicore32/lib/copy_template.S
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/lib/copy_template.S 3 * linux/arch/unicore32/lib/copy_template.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/* 10/*
diff --git a/arch/unicore32/lib/copy_to_user.S b/arch/unicore32/lib/copy_to_user.S
index 857c6816ffe7..c867f08f89ce 100644
--- a/arch/unicore32/lib/copy_to_user.S
+++ b/arch/unicore32/lib/copy_to_user.S
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/lib/copy_to_user.S 3 * linux/arch/unicore32/lib/copy_to_user.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 <linux/linkage.h> 10#include <linux/linkage.h>
diff --git a/arch/unicore32/lib/delay.S b/arch/unicore32/lib/delay.S
index 24664c009e78..6a359dd034e5 100644
--- a/arch/unicore32/lib/delay.S
+++ b/arch/unicore32/lib/delay.S
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/lib/delay.S 3 * linux/arch/unicore32/lib/delay.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 <asm/assembler.h> 10#include <asm/assembler.h>
diff --git a/arch/unicore32/lib/findbit.S b/arch/unicore32/lib/findbit.S
index c77746247d36..42f1282670d2 100644
--- a/arch/unicore32/lib/findbit.S
+++ b/arch/unicore32/lib/findbit.S
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/lib/findbit.S 3 * linux/arch/unicore32/lib/findbit.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 <asm/assembler.h> 10#include <asm/assembler.h>
diff --git a/arch/unicore32/lib/strncpy_from_user.S b/arch/unicore32/lib/strncpy_from_user.S
index ff6c304d5c7e..f227b8227a4c 100644
--- a/arch/unicore32/lib/strncpy_from_user.S
+++ b/arch/unicore32/lib/strncpy_from_user.S
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/lib/strncpy_from_user.S 3 * linux/arch/unicore32/lib/strncpy_from_user.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 <asm/assembler.h> 10#include <asm/assembler.h>
diff --git a/arch/unicore32/lib/strnlen_user.S b/arch/unicore32/lib/strnlen_user.S
index 75863030f21d..c836b12776fe 100644
--- a/arch/unicore32/lib/strnlen_user.S
+++ b/arch/unicore32/lib/strnlen_user.S
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/lib/strnlen_user.S 3 * linux/arch/unicore32/lib/strnlen_user.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 <asm/assembler.h> 10#include <asm/assembler.h>
diff --git a/arch/unicore32/mm/alignment.c b/arch/unicore32/mm/alignment.c
index 3a7f6faa8794..a07ae5cc58e5 100644
--- a/arch/unicore32/mm/alignment.c
+++ b/arch/unicore32/mm/alignment.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/unicore32/mm/alignment.c 3 * linux/arch/unicore32/mm/alignment.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/* 9/*
13 * TODO: 10 * TODO:
diff --git a/arch/unicore32/mm/cache-ucv2.S b/arch/unicore32/mm/cache-ucv2.S
index ecaa1727f906..2108837d6f4f 100644
--- a/arch/unicore32/mm/cache-ucv2.S
+++ b/arch/unicore32/mm/cache-ucv2.S
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/mm/cache-ucv2.S 3 * linux/arch/unicore32/mm/cache-ucv2.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 * This is the "shell" of the UniCore-v2 processor support. 9 * This is the "shell" of the UniCore-v2 processor support.
13 */ 10 */
14#include <linux/linkage.h> 11#include <linux/linkage.h>
diff --git a/arch/unicore32/mm/extable.c b/arch/unicore32/mm/extable.c
index c562046947ba..e53352b41c4a 100644
--- a/arch/unicore32/mm/extable.c
+++ b/arch/unicore32/mm/extable.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/unicore32/mm/extable.c 3 * linux/arch/unicore32/mm/extable.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/extable.h> 9#include <linux/extable.h>
13#include <linux/uaccess.h> 10#include <linux/uaccess.h>
diff --git a/arch/unicore32/mm/fault.c b/arch/unicore32/mm/fault.c
index b9a3a50644c1..33e0d8a267e8 100644
--- a/arch/unicore32/mm/fault.c
+++ b/arch/unicore32/mm/fault.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/unicore32/mm/fault.c 3 * linux/arch/unicore32/mm/fault.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/extable.h> 9#include <linux/extable.h>
13#include <linux/signal.h> 10#include <linux/signal.h>
diff --git a/arch/unicore32/mm/flush.c b/arch/unicore32/mm/flush.c
index 74f4d636df2d..65954f8d89a2 100644
--- a/arch/unicore32/mm/flush.c
+++ b/arch/unicore32/mm/flush.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/unicore32/mm/flush.c 3 * linux/arch/unicore32/mm/flush.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/mm.h> 10#include <linux/mm.h>
diff --git a/arch/unicore32/mm/init.c b/arch/unicore32/mm/init.c
index c994cdf14119..6cf010fadc7a 100644
--- a/arch/unicore32/mm/init.c
+++ b/arch/unicore32/mm/init.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/unicore32/mm/init.c 3 * linux/arch/unicore32/mm/init.c
3 * 4 *
4 * Copyright (C) 2010 GUAN Xue-tao 5 * Copyright (C) 2010 GUAN Xue-tao
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */ 6 */
10#include <linux/kernel.h> 7#include <linux/kernel.h>
11#include <linux/errno.h> 8#include <linux/errno.h>
diff --git a/arch/unicore32/mm/ioremap.c b/arch/unicore32/mm/ioremap.c
index b69cb18ce8b1..cf6d656f240c 100644
--- a/arch/unicore32/mm/ioremap.c
+++ b/arch/unicore32/mm/ioremap.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/unicore32/mm/ioremap.c 3 * linux/arch/unicore32/mm/ioremap.c
3 * 4 *
@@ -5,11 +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 *
13 * Re-map IO memory to kernel address space so that we can access it. 9 * Re-map IO memory to kernel address space so that we can access it.
14 * 10 *
15 * This allows a driver to remap an arbitrary region of bus memory into 11 * This allows a driver to remap an arbitrary region of bus memory into
diff --git a/arch/unicore32/mm/mm.h b/arch/unicore32/mm/mm.h
index 05c7f532eee2..27127abc95fb 100644
--- a/arch/unicore32/mm/mm.h
+++ b/arch/unicore32/mm/mm.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/mm/mm.h 3 * linux/arch/unicore32/mm/mm.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#include <asm/hwdef-copro.h> 9#include <asm/hwdef-copro.h>
13 10
diff --git a/arch/unicore32/mm/mmu.c b/arch/unicore32/mm/mmu.c
index f0ae623b305f..183d5b056814 100644
--- a/arch/unicore32/mm/mmu.c
+++ b/arch/unicore32/mm/mmu.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/unicore32/mm/mmu.c 3 * linux/arch/unicore32/mm/mmu.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/mm/pgd.c b/arch/unicore32/mm/pgd.c
index a830a300aaa1..f01c73e04836 100644
--- a/arch/unicore32/mm/pgd.c
+++ b/arch/unicore32/mm/pgd.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/unicore32/mm/pgd.c 3 * linux/arch/unicore32/mm/pgd.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/mm.h> 9#include <linux/mm.h>
13#include <linux/gfp.h> 10#include <linux/gfp.h>
diff --git a/arch/unicore32/mm/proc-macros.S b/arch/unicore32/mm/proc-macros.S
index 51560d68c894..3b0ae7d5bd80 100644
--- a/arch/unicore32/mm/proc-macros.S
+++ b/arch/unicore32/mm/proc-macros.S
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/mm/proc-macros.S 3 * linux/arch/unicore32/mm/proc-macros.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 * We need constants.h for: 9 * We need constants.h for:
13 * VMA_VM_MM 10 * VMA_VM_MM
14 * VMA_VM_FLAGS 11 * VMA_VM_FLAGS
diff --git a/arch/unicore32/mm/proc-syms.c b/arch/unicore32/mm/proc-syms.c
index df215fd6d639..6c081616fc3c 100644
--- a/arch/unicore32/mm/proc-syms.c
+++ b/arch/unicore32/mm/proc-syms.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/unicore32/mm/proc-syms.c 3 * linux/arch/unicore32/mm/proc-syms.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/mm.h> 10#include <linux/mm.h>
diff --git a/arch/unicore32/mm/proc-ucv2.S b/arch/unicore32/mm/proc-ucv2.S
index 9d296092e362..8cc9a1b16d60 100644
--- a/arch/unicore32/mm/proc-ucv2.S
+++ b/arch/unicore32/mm/proc-ucv2.S
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/mm/proc-ucv2.S 3 * linux/arch/unicore32/mm/proc-ucv2.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/init.h> 9#include <linux/init.h>
13#include <linux/linkage.h> 10#include <linux/linkage.h>
diff --git a/arch/unicore32/mm/tlb-ucv2.S b/arch/unicore32/mm/tlb-ucv2.S
index 061d455f9a15..0ce9c6b6f1db 100644
--- a/arch/unicore32/mm/tlb-ucv2.S
+++ b/arch/unicore32/mm/tlb-ucv2.S
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/arch/unicore32/mm/tlb-ucv2.S 3 * linux/arch/unicore32/mm/tlb-ucv2.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/init.h> 9#include <linux/init.h>
13#include <linux/linkage.h> 10#include <linux/linkage.h>