summaryrefslogtreecommitdiff
path: root/device/io_req.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/io_req.h')
-rw-r--r--device/io_req.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/device/io_req.h b/device/io_req.h
index b80b3dde..e66e0800 100644
--- a/device/io_req.h
+++ b/device/io_req.h
@@ -95,6 +95,8 @@ struct io_req {
* locking is needed in this sequence. Unfortunately, a synchronous wait
* for a buffer requires a lock to avoid problems if the wait and interrupt
* happen simultaneously on different processors.
+ *
+ * Shall be taken at splio only
*/
#define ior_lock(ior) simple_lock(&(ior)->io_req_lock)