From: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
To: willy@infradead.org, jgg@mellanox.com, linux-kernel@vger.kernel.org
Subject: [PATCH] IDR: Add missing XArray include
Date: Tue, 25 Sep 2018 13:30:20 +0100 [thread overview]
Message-ID: <20180925123020.52407-1-jean-philippe.brucker@arm.com> (raw)
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 <jean-philippe.brucker@arm.com>
---
include/linux/idr.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/idr.h b/include/linux/idr.h
index 3ec8628ce17f..3b835bf492ab 100644
--- a/include/linux/idr.h
+++ b/include/linux/idr.h
@@ -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;
--
2.18.0
reply other threads:[~2018-09-25 12:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180925123020.52407-1-jean-philippe.brucker@arm.com \
--to=jean-philippe.brucker@arm.com \
--cc=jgg@mellanox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).