diff options
author | Tejun Heo <tj@kernel.org> | 2013-02-27 17:04:05 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-27 19:10:15 -0800 |
commit | 37b61890d757f606c25ac5a247572cb7d5efde96 (patch) | |
tree | b81abfb289f4d2be4ee77a2b555c26bde6dae6e7 /drivers/sfi | |
parent | 3bec60d511179853138836ae6e1b61fe34d9235f (diff) | |
download | linux-3.10-37b61890d757f606c25ac5a247572cb7d5efde96.tar.gz linux-3.10-37b61890d757f606c25ac5a247572cb7d5efde96.tar.bz2 linux-3.10-37b61890d757f606c25ac5a247572cb7d5efde96.zip |
firewire: convert to idr_alloc()
Convert to the much saner new idr interface.
v2: Stefan pointed out that add_client_resource() may be called from
non-process context. Preload iff @gfp_mask contains __GFP_WAIT.
Also updated to include minor upper limit check.
[tim.gardner@canonical.com: fix accidentally orphaned 'minor'[
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/sfi')
0 files changed, 0 insertions, 0 deletions