linux-mips
[Top] [All Lists]

[PATCH 5/7] MIPS: Loongson64: cleanup all loongson-3 files to use SPDX I

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 5/7] MIPS: Loongson64: cleanup all loongson-3 files to use SPDX Identifier
From: Jiaxun Yang <jiaxun.yang@flygoat.com>
Date: Tue, 26 Dec 2017 21:23:37 +0800
Authentication-results: smtp4o.mail.yandex.net; dkim=pass header.i=@flygoat.com
Cc: James Hogan <james.hogan@mips.com>, Huacai CHen <chenhc@lemote.com>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Jiaxun Yang <jiaxun.yang@flygoat.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; s=mail; t=1514294672; bh=cfShhEPjYM+77IZqPkmWdtICEvpgM6fGc31ChtaoROM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=SJFL5uk7rQbcnvbPGGpYQWf45fK1Z2cIsJNVvOGe9zQM0+TCJKAumpnu5ol2hTmTu pksh1a/6IKZrqzSoPS0hD/sJoGk+xadJVJ5H1XfY5gX4fT0EukYrVb+fc5clMfBaAv D+bqYOgUKuor//nX5sP11hvFznCt6lWuF04PiQag=
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; s=mail; t=1514294671; bh=cfShhEPjYM+77IZqPkmWdtICEvpgM6fGc31ChtaoROM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=eTYEmaCQzu/wZQumNO8J0V7P9m99Ii1Eu+zQsvCtGq/YYC7Zk64gqgod/3u3ZredM Hegt2nQYcS57rfa3gauq9PyRUtxc/j2ecLdPZh/C1c2FrLFmq/G3TE3AocapqQgrR6 qyHqXTDsjp5d1Sr3noCFRQFd9jWXWyt7cApGXC5Q=
In-reply-to: <20171226132339.7356-1-jiaxun.yang@flygoat.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20171226132339.7356-1-jiaxun.yang@flygoat.com>
Sender: linux-mips-bounce@linux-mips.org
To reduce unnecessary license text.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
 arch/mips/loongson64/loongson-3/Makefile   |  1 +
 arch/mips/loongson64/loongson-3/cop2-ex.c  |  5 ++---
 arch/mips/loongson64/loongson-3/numa.c     |  7 ++-----
 arch/mips/loongson64/loongson-3/platform.c |  6 ++----
 arch/mips/loongson64/loongson-3/smp.c      | 12 ++----------
 5 files changed, 9 insertions(+), 22 deletions(-)

diff --git a/arch/mips/loongson64/loongson-3/Makefile 
b/arch/mips/loongson64/loongson-3/Makefile
index 44bc1482158b..317f9a4b3ff8 100644
--- a/arch/mips/loongson64/loongson-3/Makefile
+++ b/arch/mips/loongson64/loongson-3/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for Loongson-3 family machines
 #
diff --git a/arch/mips/loongson64/loongson-3/cop2-ex.c 
b/arch/mips/loongson64/loongson-3/cop2-ex.c
index 621d6af5f6eb..9dae0f539ee5 100644
--- a/arch/mips/loongson64/loongson-3/cop2-ex.c
+++ b/arch/mips/loongson64/loongson-3/cop2-ex.c
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
 /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
  *
  * Copyright (C) 2014 Lemote Corporation.
  *   written by Huacai Chen <chenhc@lemote.com>
diff --git a/arch/mips/loongson64/loongson-3/numa.c 
b/arch/mips/loongson64/loongson-3/numa.c
index f17ef520799a..51faecd95f21 100644
--- a/arch/mips/loongson64/loongson-3/numa.c
+++ b/arch/mips/loongson64/loongson-3/numa.c
@@ -1,14 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
 /*
  * Copyright (C) 2010 Loongson Inc. & Lemote Inc. &
  *                    Institute of Computing Technology
  * Author:  Xiang Gao, gaoxiang@ict.ac.cn
  *          Huacai Chen, chenhc@lemote.com
  *          Xiaofu Meng, Shuangshuang Zhang
- *
- * This program is free software; you can redistribute  it and/or modify it
- * under  the terms of  the GNU General  Public License as published by the
- * Free Software Foundation;  either version 2 of the  License, or (at your
- * option) any later version.
  */
 #include <linux/init.h>
 #include <linux/kernel.h>
diff --git a/arch/mips/loongson64/loongson-3/platform.c 
b/arch/mips/loongson64/loongson-3/platform.c
index 25a97cc0ee33..908cfa130512 100644
--- a/arch/mips/loongson64/loongson-3/platform.c
+++ b/arch/mips/loongson64/loongson-3/platform.c
@@ -1,13 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
 /*
  * Copyright (C) 2009 Lemote Inc.
  * Author: Wu Zhangjin, wuzhangjin@gmail.com
  *         Xiang Yu, xiangy@lemote.com
  *         Chen Huacai, chenhc@lemote.com
  *
- * This program is free software; you can redistribute  it and/or modify it
- * under  the terms of  the GNU General  Public License as published by the
- * Free Software Foundation;  either version 2 of the  License, or (at your
- * option) any later version.
  */
 
 #include <linux/err.h>
diff --git a/arch/mips/loongson64/loongson-3/smp.c 
b/arch/mips/loongson64/loongson-3/smp.c
index 8501109bb0f0..34a86607a011 100644
--- a/arch/mips/loongson64/loongson-3/smp.c
+++ b/arch/mips/loongson64/loongson-3/smp.c
@@ -1,17 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
 /*
  * Copyright (C) 2010, 2011, 2012, Lemote, Inc.
  * Author: Chen Huacai, chenhc@lemote.com
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <linux/init.h>
-- 
2.15.1


<Prev in Thread] Current Thread [Next in Thread>