Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751268AbdL3S3l (ORCPT ); Sat, 30 Dec 2017 13:29:41 -0500 Received: from forward103j.mail.yandex.net ([5.45.198.246]:51633 "EHLO forward103j.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751204AbdL3S3Y (ORCPT ); Sat, 30 Dec 2017 13:29:24 -0500 Authentication-Results: smtp3p.mail.yandex.net; dkim=pass header.i=@flygoat.com From: Jiaxun Yang To: Ralf Baechle Cc: Philippe Ombredanne , Linux MIPS , LKML , Jiaxun Yang Subject: [PATCHv2 5/8] MIPS: Loongson64: cleanup all loongson-3 files to use SPDX Identifier Date: Sun, 31 Dec 2017 02:28:28 +0800 Message-Id: <20171230182830.6496-6-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171230182830.6496-1-jiaxun.yang@flygoat.com> References: <20171226132339.7356-1-jiaxun.yang@flygoat.com> <20171230182830.6496-1-jiaxun.yang@flygoat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3867 Lines: 101 To reduce unnecessary license text. Signed-off-by: Jiaxun Yang --- 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 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 #include 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 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 -- 2.15.1