12 lines
248 B
C
12 lines
248 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef _SPINLOCK_H_
|
|
#define _SPINLOCK_H_
|
|
|
|
#include <kernel/types.h>
|
|
|
|
typedef u32 spinlock_t;
|
|
|
|
void spinlock_acquire(spinlock_t *lock);
|
|
void spinlock_release(spinlock_t *lock);
|
|
|
|
#endif /* _SPINLOCK_H_ */
|