1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SH_SPINLOCK_TYPES_H
3 #define __ASM_SH_SPINLOCK_TYPES_H
5 #ifndef __LINUX_SPINLOCK_TYPES_H
6 # error "please don't include this file directly"
10 volatile unsigned int lock;
13 #define __ARCH_SPIN_LOCK_UNLOCKED { 1 }
16 volatile unsigned int lock;
19 #define RW_LOCK_BIAS 0x01000000
20 #define __ARCH_RW_LOCK_UNLOCKED { RW_LOCK_BIAS }