License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6/btrfs-unstable.git] / arch / mn10300 / include / asm / spinlock_types.h
blob32abdc89bbc755e7f48bd6425125ba31dafb4786
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"
7 #endif
9 typedef struct arch_spinlock {
10 unsigned int slock;
11 } arch_spinlock_t;
13 #define __ARCH_SPIN_LOCK_UNLOCKED { 0 }
15 typedef struct {
16 unsigned int lock;
17 } arch_rwlock_t;
19 #define __ARCH_RW_LOCK_UNLOCKED { RW_LOCK_BIAS }
21 #endif /* _ASM_SPINLOCK_TYPES_H */