diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-04-21 22:44:50 +0000 |
---|---|---|
committer | Jesper Juhl <juhl@hera.kernel.org> | 2008-04-21 22:44:50 +0000 |
commit | c0d1f29534f2bd6c5992831eb0f648522e9b0204 (patch) | |
tree | 563b800789c2c99527b0b681efeb78fcf938da75 /Documentation/block | |
parent | dd89db1df98003fadafa711ab8bc497aaf92980a (diff) | |
download | linux-stable-c0d1f29534f2bd6c5992831eb0f648522e9b0204.tar.gz linux-stable-c0d1f29534f2bd6c5992831eb0f648522e9b0204.tar.bz2 linux-stable-c0d1f29534f2bd6c5992831eb0f648522e9b0204.zip |
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>
Diffstat (limited to 'Documentation/block')
-rw-r--r-- | Documentation/block/biodoc.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/block/biodoc.txt b/Documentation/block/biodoc.txt index 93f223b9723f..4dbb8be1c991 100644 --- a/Documentation/block/biodoc.txt +++ b/Documentation/block/biodoc.txt @@ -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(). |