1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef __ASM_CSKY_SPINLOCK_TYPES_H
4 #define __ASM_CSKY_SPINLOCK_TYPES_H
6 #ifndef __LINUX_SPINLOCK_TYPES_H
7 # error "please don't include this file directly"
10 #define TICKET_NEXT 16
15 struct __raw_tickets {
23 #define __ARCH_SPIN_LOCK_UNLOCKED { { 0 } }
25 #include <asm-generic/qrwlock_types.h>
27 #endif /* __ASM_CSKY_SPINLOCK_TYPES_H */