|
@@ -10,7 +10,7 @@ We saw the [API](https://en.wikipedia.org/wiki/Application_programming_interface
|
|
|
|
|
|
* `spin_lock_init` - produces initialization of the given `spinlock`;
|
|
|
* `spin_lock` - acquires given `spinlock`;
|
|
|
-* `spin_lock_bh` - disables software [interrupts](https://en.wikipedia.org/wiki/Interrupt) and acquire given `spinlock`.
|
|
|
+* `spin_lock_bh` - disables software [interrupts](https://en.wikipedia.org/wiki/Interrupt) and acquire given `spinlock`;
|
|
|
* `spin_lock_irqsave` and `spin_lock_irq` - disable interrupts on local processor and preserve/not preserve previous interrupt state in the `flags`;
|
|
|
* `spin_unlock` - releases given `spinlock` and acquire given `spinlock`;
|
|
|
* `spin_unlock_bh` - releases given `spinlock` and enables software interrupts;
|