IDR: Add missing XArray include
PATCH 1/1 IDR: Add missing XArray include
IDR now exposes the XArray lock to users, and relies on the xa_* macros defined in xarray.h. Include this header in idr.h.
Fixes 3c60e868c31e ("IDR: Expose the XArray lock")
Signed-off-by Jean-Philippe Brucker <[email protected]>
--- include/linux/idr.h | 1 + 1 file changed, 1 insertion(+)
include/linux/idr.h +1 -0
@@ -15,6 +15,7 @@#include <linux/radix-tree.h> #include <linux/gfp.h> #include <linux/percpu.h> +#include <linux/xarray.h> struct idr {struct radix_tree_root idr_rt;
Signature · 1 line
2.18.0