mirror of
https://github.com/0xAX/linux-insides.git
synced 2025-01-18 11:41:08 +00:00
SyncPrim: Consistently wrap 'spinlock' with '`'
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
This commit is contained in:
parent
6708f9ff85
commit
5e190ae3b8
@ -122,7 +122,7 @@ typedef struct qspinlock {
|
|||||||
} arch_spinlock_t;
|
} arch_spinlock_t;
|
||||||
```
|
```
|
||||||
|
|
||||||
We will not stop on this structures for now. Let's look at the operations on a spinlock. The Linux kernel provides following main operations on a `spinlock`:
|
We will not stop on this structures for now. Let's look at the operations on a `spinlock`. The Linux kernel provides following main operations on a `spinlock`:
|
||||||
|
|
||||||
* `spin_lock_init` - produces initialization of the given `spinlock`;
|
* `spin_lock_init` - produces initialization of the given `spinlock`;
|
||||||
* `spin_lock` - acquires given `spinlock`;
|
* `spin_lock` - acquires given `spinlock`;
|
||||||
|
Loading…
Reference in New Issue
Block a user