mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-17 07:54:54 +08:00
6a0abce4c4
Update license to use SPDX-License-Identifier instead of verbose license text. Link: http://lkml.kernel.org/r/87ftvccszx.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Cc: Rich Felker <dalias@libc.org> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
20 lines
438 B
C
20 lines
438 B
C
/* SPDX-License-Identifier: GPL-2.0
|
|
*
|
|
* include/asm-sh/spinlock.h
|
|
*
|
|
* Copyright (C) 2002, 2003 Paul Mundt
|
|
* Copyright (C) 2006, 2007 Akio Idehara
|
|
*/
|
|
#ifndef __ASM_SH_SPINLOCK_H
|
|
#define __ASM_SH_SPINLOCK_H
|
|
|
|
#if defined(CONFIG_CPU_SH4A)
|
|
#include <asm/spinlock-llsc.h>
|
|
#elif defined(CONFIG_CPU_J2)
|
|
#include <asm/spinlock-cas.h>
|
|
#else
|
|
#error "The configured cpu type does not support spinlocks"
|
|
#endif
|
|
|
|
#endif /* __ASM_SH_SPINLOCK_H */
|