X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Documentation%2Fblock%2Fbiodoc.txt;h=4dbb8be1c991c3b4049d69ff68c99c12e5f34ce3;hb=13a6ddb08e58a1bd344da7898c4e2f13bdf18c2f;hp=93f223b9723f8c66d81e92edd290f607d5469c34;hpb=fb9fc395174138983a49f2da982ed14caabbe741;p=linux-2.6 diff --git a/Documentation/block/biodoc.txt b/Documentation/block/biodoc.txt index 93f223b972..4dbb8be1c9 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().