Linux Audio

Check our new training course

Loading...
v6.2
 1/* SPDX-License-Identifier: GPL-2.0 */
 2
 3#ifndef __ASM_GENERIC_SPINLOCK_TYPES_H
 4#define __ASM_GENERIC_SPINLOCK_TYPES_H
 5
 6#include <linux/types.h>
 7typedef atomic_t arch_spinlock_t;
 8
 9/*
10 * qrwlock_types depends on arch_spinlock_t, so we must typedef that before the
11 * include.
12 */
13#include <asm/qrwlock_types.h>
14
15#define __ARCH_SPIN_LOCK_UNLOCKED	ATOMIC_INIT(0)
16
17#endif /* __ASM_GENERIC_SPINLOCK_TYPES_H */
v6.13.7
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef __ASM_GENERIC_SPINLOCK_TYPES_H
4#define __ASM_GENERIC_SPINLOCK_TYPES_H
5
6#include <asm-generic/qspinlock_types.h>
7#include <asm-generic/qrwlock_types.h>
 
 
 
 
 
 
 
 
8
9#endif /* __ASM_GENERIC_SPINLOCK_TYPES_H */