summaryrefslogtreecommitdiffstats
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-11-02 21:38:46 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-03 00:07:00 +0100
commit46cbc1d3981ee753518fbf9198a14f71a9f6841e (patch)
tree0a2fbbec4adf2839e29cb1425644096d7ed6ae00 /lib/flex_array.c
parentproc: fix races against execve() of /proc/PID/fd** (diff)
downloadlinux-46cbc1d3981ee753518fbf9198a14f71a9f6841e.tar.xz
linux-46cbc1d3981ee753518fbf9198a14f71a9f6841e.zip
ida: make ida_simple_get/put() IRQ safe
It's often convenient to be able to release resource from IRQ context. Make ida_simple_*() use irqsave/restore spin ops so that they are IRQ safe. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions