1 /* SPDX-License-Identifier: GPL-2.0 2 * 3 * include/asm-sh/spinlock.h 4 * 5 * Copyright (C) 2002, 2003 Paul Mundt 6 * Copyright (C) 2006, 2007 Akio Idehara 7 */ 8 #ifndef __ASM_SH_SPINLOCK_H 9 #define __ASM_SH_SPINLOCK_H 10 11 #if defined(CONFIG_CPU_SH4A) 12 #include <asm/spinlock-llsc.h> 13 #elif defined(CONFIG_CPU_J2) 14 #include <asm/spinlock-cas.h> 15 #else 16 #error "The configured cpu type does not support spinlocks" 17 #endif 18 19 #endif /* __ASM_SH_SPINLOCK_H */ 20
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.