Skip to content

Commit

Permalink
sh: include: convert to SPDX identifiers
Browse files Browse the repository at this point in the history
Update license to use SPDX-License-Identifier instead of verbose license
text.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Kuninori Morimoto <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Cc: Rich Felker <[email protected]>
Cc: Yoshinori Sato <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
morimoto authored and torvalds committed Dec 28, 2018
1 parent ff4a748 commit 6a0abce
Show file tree
Hide file tree
Showing 83 changed files with 142 additions and 357 deletions.
1 change: 1 addition & 0 deletions arch/sh/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
generated-y += syscall_table.h
generic-y += compat.h
generic-y += current.h
Expand Down
5 changes: 1 addition & 4 deletions arch/sh/include/asm/addrspace.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/*
* 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.
/* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 1999 by Kaz Kojima
*
Expand Down
1 change: 1 addition & 0 deletions arch/sh/include/asm/asm-offsets.h
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/* SPDX-License-Identifier: GPL-2.0 */
#include <generated/asm-offsets.h>
7 changes: 2 additions & 5 deletions arch/sh/include/asm/bl_bit_64.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 2000, 2001 Paolo Alberelli
* Copyright (C) 2003 Paul Mundt
* Copyright (C) 2004 Richard Curnow
*
* 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.
*/
#ifndef __ASM_SH_BL_BIT_64_H
#define __ASM_SH_BL_BIT_64_H
Expand Down
7 changes: 2 additions & 5 deletions arch/sh/include/asm/cache_insns_64.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 2000, 2001 Paolo Alberelli
* Copyright (C) 2003 Paul Mundt
* Copyright (C) 2004 Richard Curnow
*
* 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.
*/
#ifndef __ASM_SH_CACHE_INSNS_64_H
#define __ASM_SH_CACHE_INSNS_64_H
Expand Down
5 changes: 1 addition & 4 deletions arch/sh/include/asm/checksum_32.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_SH_CHECKSUM_H
#define __ASM_SH_CHECKSUM_H

/*
* 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) 1999 by Kaz Kojima & Niibe Yutaka
*/

Expand Down
4 changes: 1 addition & 3 deletions arch/sh/include/asm/cmpxchg-xchg.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_SH_CMPXCHG_XCHG_H
#define __ASM_SH_CMPXCHG_XCHG_H

/*
* Copyright (C) 2016 Red Hat, Inc.
* Author: Michael S. Tsirkin <[email protected]>
*
* This work is licensed under the terms of the GNU GPL, version 2. See the
* file "COPYING" in the main directory of this archive for more details.
*/
#include <linux/bits.h>
#include <linux/compiler.h>
Expand Down
5 changes: 2 additions & 3 deletions arch/sh/include/asm/device.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*
* Arch specific extensions to struct device
/* SPDX-License-Identifier: GPL-2.0
*
* This file is released under the GPLv2
* Arch specific extensions to struct device
*/
#ifndef __ASM_SH_DEVICE_H
#define __ASM_SH_DEVICE_H
Expand Down
7 changes: 2 additions & 5 deletions arch/sh/include/asm/dma-register.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* Common header for the legacy SH DMA driver and the new dmaengine driver
*
* extracted from arch/sh/include/asm/dma-sh.h:
*
* Copyright (C) 2000 Takashi YOSHII
* Copyright (C) 2003 Paul Mundt
*
* 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.
*/
#ifndef DMA_REGISTER_H
#define DMA_REGISTER_H
Expand Down
7 changes: 2 additions & 5 deletions arch/sh/include/asm/dma.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* include/asm-sh/dma.h
*
* Copyright (C) 2003, 2004 Paul Mundt
*
* 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.
*/
#ifndef __ASM_SH_DMA_H
#define __ASM_SH_DMA_H
Expand Down
8 changes: 2 additions & 6 deletions arch/sh/include/asm/dwarf.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
/*
* Copyright (C) 2009 Matt Fleming <[email protected]>
*
* 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.
/* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 2009 Matt Fleming <[email protected]>
*/
#ifndef __ASM_SH_DWARF_H
#define __ASM_SH_DWARF_H
Expand Down
1 change: 1 addition & 0 deletions arch/sh/include/asm/fb.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_FB_H_
#define _ASM_FB_H_

Expand Down
7 changes: 2 additions & 5 deletions arch/sh/include/asm/fixmap.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* fixmap.h: compile-time virtual memory allocation
/* 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.
* fixmap.h: compile-time virtual memory allocation
*
* Copyright (C) 1998 Ingo Molnar
*
Expand Down
7 changes: 2 additions & 5 deletions arch/sh/include/asm/flat.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* include/asm-sh/flat.h
*
* uClinux flat-format executables
*
* Copyright (C) 2003 Paul Mundt
*
* 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.
*/
#ifndef __ASM_SH_FLAT_H
#define __ASM_SH_FLAT_H
Expand Down
8 changes: 2 additions & 6 deletions arch/sh/include/asm/freq.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
/*
/* SPDX-License-Identifier: GPL-2.0+
*
* include/asm-sh/freq.h
*
* Copyright (C) 2002, 2003 Paul Mundt
*
* 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.
*/
#ifndef __ASM_SH_FREQ_H
#define __ASM_SH_FREQ_H
Expand Down
7 changes: 2 additions & 5 deletions arch/sh/include/asm/gpio.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* include/asm-sh/gpio.h
*
* Generic GPIO API and pinmux table support for SuperH.
*
* Copyright (c) 2008 Magnus Damm
*
* 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.
*/
#ifndef __ASM_SH_GPIO_H
#define __ASM_SH_GPIO_H
Expand Down
6 changes: 2 additions & 4 deletions arch/sh/include/asm/machvec.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* include/asm-sh/machvec.h
*
* Copyright 2000 Stuart Menefy ([email protected])
*
* May be copied or modified under the terms of the GNU General Public
* License. See linux/COPYING for more information.
*/

#ifndef _ASM_SH_MACHVEC_H
Expand Down
5 changes: 1 addition & 4 deletions arch/sh/include/asm/mmu_context_64.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_SH_MMU_CONTEXT_64_H
#define __ASM_SH_MMU_CONTEXT_64_H

Expand All @@ -6,10 +7,6 @@
*
* Copyright (C) 2000, 2001 Paolo Alberelli
* Copyright (C) 2003 - 2007 Paul Mundt
*
* 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.
*/
#include <cpu/registers.h>
#include <asm/cacheflush.h>
Expand Down
7 changes: 2 additions & 5 deletions arch/sh/include/asm/pgtable.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* This file contains the functions and defines necessary to modify and
* use the SuperH page table tree.
*
* Copyright (C) 1999 Niibe Yutaka
* Copyright (C) 2002 - 2007 Paul Mundt
*
* 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.
*/
#ifndef __ASM_SH_PGTABLE_H
#define __ASM_SH_PGTABLE_H
Expand Down
5 changes: 1 addition & 4 deletions arch/sh/include/asm/pgtable_64.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_SH_PGTABLE_64_H
#define __ASM_SH_PGTABLE_64_H

Expand All @@ -10,10 +11,6 @@
* Copyright (C) 2000, 2001 Paolo Alberelli
* Copyright (C) 2003, 2004 Paul Mundt
* Copyright (C) 2003, 2004 Richard Curnow
*
* 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.
*/
#include <linux/threads.h>
#include <asm/processor.h>
Expand Down
5 changes: 1 addition & 4 deletions arch/sh/include/asm/processor_64.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_SH_PROCESSOR_64_H
#define __ASM_SH_PROCESSOR_64_H

Expand All @@ -7,10 +8,6 @@
* Copyright (C) 2000, 2001 Paolo Alberelli
* Copyright (C) 2003 Paul Mundt
* Copyright (C) 2004 Richard Curnow
*
* 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.
*/
#ifndef __ASSEMBLY__

Expand Down
20 changes: 4 additions & 16 deletions arch/sh/include/asm/sfp-machine.h
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
/* Machine-dependent software floating-point definitions.
/* SPDX-License-Identifier: GPL-2.0+
*
* Machine-dependent software floating-point definitions.
SuperH kernel version.
Copyright (C) 1997,1998,1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson ([email protected]),
Jakub Jelinek ([email protected]),
David S. Miller ([email protected]) and
Peter Maydell ([email protected]).
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
The GNU C Library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
*/

#ifndef _SFP_MACHINE_H
#define _SFP_MACHINE_H
Expand Down
7 changes: 2 additions & 5 deletions arch/sh/include/asm/shmparam.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* include/asm-sh/shmparam.h
*
* Copyright (C) 1999 Niibe Yutaka
* Copyright (C) 2006 Paul Mundt
*
* 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.
*/
#ifndef __ASM_SH_SHMPARAM_H
#define __ASM_SH_SHMPARAM_H
Expand Down
7 changes: 2 additions & 5 deletions arch/sh/include/asm/siu.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* platform header for the SIU ASoC driver
*
* Copyright (C) 2009-2010 Guennadi Liakhovetski <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

#ifndef ASM_SIU_H
Expand Down
7 changes: 2 additions & 5 deletions arch/sh/include/asm/spinlock-cas.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* include/asm-sh/spinlock-cas.h
*
* Copyright (C) 2015 SEI
*
* 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.
*/
#ifndef __ASM_SH_SPINLOCK_CAS_H
#define __ASM_SH_SPINLOCK_CAS_H
Expand Down
7 changes: 2 additions & 5 deletions arch/sh/include/asm/spinlock-llsc.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* include/asm-sh/spinlock-llsc.h
*
* Copyright (C) 2002, 2003 Paul Mundt
* Copyright (C) 2006, 2007 Akio Idehara
*
* 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.
*/
#ifndef __ASM_SH_SPINLOCK_LLSC_H
#define __ASM_SH_SPINLOCK_LLSC_H
Expand Down
7 changes: 2 additions & 5 deletions arch/sh/include/asm/spinlock.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* include/asm-sh/spinlock.h
*
* Copyright (C) 2002, 2003 Paul Mundt
* Copyright (C) 2006, 2007 Akio Idehara
*
* 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.
*/
#ifndef __ASM_SH_SPINLOCK_H
#define __ASM_SH_SPINLOCK_H
Expand Down
1 change: 1 addition & 0 deletions arch/sh/include/asm/string_32.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_SH_STRING_H
#define __ASM_SH_STRING_H

Expand Down
7 changes: 2 additions & 5 deletions arch/sh/include/asm/switch_to.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/*
/* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 2000, 2001 Paolo Alberelli
* Copyright (C) 2003 Paul Mundt
* Copyright (C) 2004 Richard Curnow
*
* 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.
*/
#ifndef __ASM_SH_SWITCH_TO_H
#define __ASM_SH_SWITCH_TO_H
Expand Down
Loading

0 comments on commit 6a0abce

Please sign in to comment.