diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2016-12-16 20:46:09 +0100 |
---|---|---|
committer | Matthew Wilcox <mawilcox@microsoft.com> | 2017-01-28 03:29:38 +0100 |
commit | 15f2e88ddd4bc9b2c6b6236162993b5caa80abb9 (patch) | |
tree | 4b0a0e57efed3017887b19078578ed5a722d96de | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff) | |
download | linux-15f2e88ddd4bc9b2c6b6236162993b5caa80abb9.tar.xz linux-15f2e88ddd4bc9b2c6b6236162993b5caa80abb9.zip |
radix tree: Add some implicit includes
We were using spinlock_t and INIT_LIST_HEAD without including spinlock.h
or list.h. They were being implicitly included through some other header
file, but that's fragile.
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
-rw-r--r-- | include/linux/radix-tree.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h index 52bda854593b..13d8d741ca34 100644 --- a/include/linux/radix-tree.h +++ b/include/linux/radix-tree.h @@ -22,11 +22,13 @@ #define _LINUX_RADIX_TREE_H #include <linux/bitops.h> -#include <linux/preempt.h> -#include <linux/types.h> #include <linux/bug.h> #include <linux/kernel.h> +#include <linux/list.h> +#include <linux/preempt.h> #include <linux/rcupdate.h> +#include <linux/spinlock.h> +#include <linux/types.h> /* * The bottom two bits of the slot determine how the remaining bits in the |