]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/parisc/include/asm/spinlock_types.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SPINLOCK_TYPES_H
3 #define __ASM_SPINLOCK_TYPES_H
7 volatile unsigned int slock
;
8 # define __ARCH_SPIN_LOCK_UNLOCKED { 1 }
10 volatile unsigned int lock
[4];
11 # define __ARCH_SPIN_LOCK_UNLOCKED { { 1, 1, 1, 1 } }
20 #define __ARCH_RW_LOCK_UNLOCKED { __ARCH_SPIN_LOCK_UNLOCKED, 0 }