DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
This commit is contained in:
Robert P. J. Day
2008-04-21 22:44:50 +00:00
committed by Jesper Juhl
parent dd89db1df9
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().