DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs.

Signed-off-by: Robert P. J. Day <[email protected]>
Signed-off-by: Jesper Juhl <[email protected]>
This commit is contained in:
Robert P. J. Day 2008-04-21 22:44:50 +00:00 • committed by Jesper Juhl
commit c0d1f29534
3 changed files with 4 additions and 4 deletions

View file

@ -1097,7 +1097,7 @@ lock themselves, if required. Drivers that explicitly used the
io_request_lock for serialization need to be modified accordingly.
Usually it's as easy as adding a global lock:
static spinlock_t my_driver_lock = SPIN_LOCK_UNLOCKED;
static DEFINE_SPINLOCK(my_driver_lock);
and passing the address to that lock to blk_init_queue().