diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2016-12-16 14:46:09 -0500 |
---|---|---|
committer | Matthew Wilcox <mawilcox@microsoft.com> | 2017-01-27 21:29:38 -0500 |
commit | 15f2e88ddd4bc9b2c6b6236162993b5caa80abb9 (patch) | |
tree | 4b0a0e57efed3017887b19078578ed5a722d96de /include/linux/radix-tree.h | |
parent | 1b1bc42c1692e9b62756323c675a44cb1a1f9dbd (diff) | |
download | linux-stable-15f2e88ddd4bc9b2c6b6236162993b5caa80abb9.tar.gz linux-stable-15f2e88ddd4bc9b2c6b6236162993b5caa80abb9.tar.bz2 linux-stable-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>
Diffstat (limited to 'include/linux/radix-tree.h')
-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 |