mirror of
https://github.com/0xAX/linux-insides.git
synced 2025-01-03 12:20:56 +00:00
SyncPrim: Consistently wrap 'spinlock' with '`'
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
This commit is contained in:
parent
1ef8bdb653
commit
e5cdd6810d
@ -198,7 +198,7 @@ static __always_inline void spin_lock(spinlock_t *lock)
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
function which allows us to `acquire` a spinlock. The `raw_spin_lock` macro is defined in the same header file and expnads to the call of `_raw_spin_lock`:
|
function which allows us to `acquire` a `spinlock`. The `raw_spin_lock` macro is defined in the same header file and expnads to the call of `_raw_spin_lock`:
|
||||||
|
|
||||||
```C
|
```C
|
||||||
#define raw_spin_lock(lock) _raw_spin_lock(lock)
|
#define raw_spin_lock(lock) _raw_spin_lock(lock)
|
||||||
|
Loading…
Reference in New Issue
Block a user