summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>2006-06-05 10:09:01 (GMT)
committerJens Axboe <axboe@nelson.home.kernel.dk>2006-06-23 15:10:38 (GMT)
commita038e2536472b4dd932399b5277e65f188811de5 (patch)
tree15b311da1a9aa36b24f98ae914456ecb90e247f3 /include/linux
parentbae386f7884aa3720cc7880b36a41a1d2b9c327b (diff)
downloadlinux-fsl-qoriq-a038e2536472b4dd932399b5277e65f188811de5.tar.xz
[PATCH] blk_start_queue() must be called with irq disabled - add warning
The queue lock can be taken from interrupts so it must always be taken with irq disabling primitives. Some primitives already verify this. blk_start_queue() is called under this lock, so interrupts must be disabled. Also document this requirement clearly in blk_init_queue(), where the queue spinlock is set. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions