Commit 15f2e88d authored by Matthew Wilcox's avatar Matthew Wilcox

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: default avatarMatthew Wilcox <mawilcox@microsoft.com>
parent 1b1bc42c
...@@ -22,11 +22,13 @@ ...@@ -22,11 +22,13 @@
#define _LINUX_RADIX_TREE_H #define _LINUX_RADIX_TREE_H
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/preempt.h>
#include <linux/types.h>
#include <linux/bug.h> #include <linux/bug.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/list.h>
#include <linux/preempt.h>
#include <linux/rcupdate.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 * The bottom two bits of the slot determine how the remaining bits in the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment