hc
2024-11-01 2f529f9b558ca1c1bd74be7437a84e4711743404
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _DOVETAIL_SPINLOCK_H
#define _DOVETAIL_SPINLOCK_H
 
/* Placeholders for hard/hybrid spinlock modifiers. */
 
struct raw_spinlock;
 
static inline void hard_spin_lock_prepare(struct raw_spinlock *lock)
{ }
 
static inline void hard_spin_unlock_finish(struct raw_spinlock *lock)
{ }
 
static inline void hard_spin_trylock_prepare(struct raw_spinlock *lock)
{ }
 
static inline void hard_spin_trylock_fail(struct raw_spinlock *lock)
{ }
 
#endif /* !_DOVETAIL_SPINLOCK_H */