1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SPINLOCK_TYPES_H
3 #define __ASM_SPINLOCK_TYPES_H
5 #ifndef __LINUX_SPINLOCK_TYPES_H
6 # error "please don't include this file directly"
9 #define TICKET_SHIFT 16
14 struct __raw_tickets {
26 #define __ARCH_SPIN_LOCK_UNLOCKED { { 0 } }
32 #define __ARCH_RW_LOCK_UNLOCKED { 0 }