diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-04 01:27:20 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 08:42:38 +0100 |
commit | b2d091031075ac9a1598e3cc3a29c28f02e64c0d (patch) | |
tree | 90ef18d0bbe2f1af545033a20be503541a35677a /lib | |
parent | 9164bb4a18dfa592cd0aca455ea57abf89ca4526 (diff) | |
download | linux-b2d091031075ac9a1598e3cc3a29c28f02e64c0d.tar.gz linux-b2d091031075ac9a1598e3cc3a29c28f02e64c0d.tar.bz2 linux-b2d091031075ac9a1598e3cc3a29c28f02e64c0d.zip |
sched/headers: Prepare to use <linux/rcuupdate.h> instead of <linux/rculist.h> in <linux/sched.h>
We don't actually need the full rculist.h header in sched.h anymore,
we will be able to include the smaller rcupdate.h header instead.
But first update code that relied on the implicit header inclusion.
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bug.c | 1 | ||||
-rw-r--r-- | lib/rhashtable.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/bug.c b/lib/bug.c index bc3656e944d2..06edbbef0623 100644 --- a/lib/bug.c +++ b/lib/bug.c @@ -45,6 +45,7 @@ #include <linux/kernel.h> #include <linux/bug.h> #include <linux/sched.h> +#include <linux/rculist.h> extern const struct bug_entry __start___bug_table[], __stop___bug_table[]; diff --git a/lib/rhashtable.c b/lib/rhashtable.c index c5b9b9351cec..f8635fd57442 100644 --- a/lib/rhashtable.c +++ b/lib/rhashtable.c @@ -19,6 +19,7 @@ #include <linux/init.h> #include <linux/log2.h> #include <linux/sched.h> +#include <linux/rculist.h> #include <linux/slab.h> #include <linux/vmalloc.h> #include <linux/mm.h> |