]> git.karo-electronics.de Git - karo-tx-linux.git/commit
vfio: convert to idr_alloc()
authorTejun Heo <tj@kernel.org>
Thu, 7 Feb 2013 01:31:48 +0000 (12:31 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:37 +0000 (16:47 +1100)
commit5b09b53473c8207c18dfdce5811de41f5f479411
treee5f0fb523c79b2e63f3b955fa3d1b28296f280b3
parent29edf39ead206f5c17f632f8166c89f6068a9dd3
vfio: convert to idr_alloc()

Convert to the much saner new idr interface.

Only compile tested.

v2: Restore accidentally dropped "index 0" comment as suggested by
    Alex.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/vfio/vfio.c