IB/ipath: convert to idr_alloc()
commit5c213f86417b264b38b279def3363811c2be54f0
authorTejun Heo <tj@kernel.org>
Thu, 28 Feb 2013 01:04:22 +0000 (27 17:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Feb 2013 03:10:17 +0000 (27 19:10 -0800)
tree4aceb8856bbb6cb97509230a8b91299bd8d2d48f
parentcbbbce1de2763cdf923b0e85c1a13877a6b61025
IB/ipath: convert to idr_alloc()

Convert to the much saner new idr interface.

[yongjun_wei@trendmicro.com.cn: use GFP_NOWAIT under spin lock]
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Cc: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/infiniband/hw/ipath/ipath_driver.c