summaryrefslogtreecommitdiff
path: root/mm/util.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-02-28 01:04:05 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-28 03:10:15 (GMT)
commit37b61890d757f606c25ac5a247572cb7d5efde96 (patch)
treeb81abfb289f4d2be4ee77a2b555c26bde6dae6e7 /mm/util.c
parent3bec60d511179853138836ae6e1b61fe34d9235f (diff)
downloadlinux-fsl-qoriq-37b61890d757f606c25ac5a247572cb7d5efde96.tar.xz
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 'mm/util.c')
0 files changed, 0 insertions, 0 deletions