]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
radix tree: Add some implicit includes
authorMatthew Wilcox <mawilcox@microsoft.com>
Fri, 16 Dec 2016 19:46:09 +0000 (14:46 -0500)
committerMatthew Wilcox <mawilcox@microsoft.com>
Sat, 28 Jan 2017 02:29:38 +0000 (21:29 -0500)
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>
include/linux/radix-tree.h

index 52bda854593b4a9eae9bad2d9990f9dd166ed609..13d8d741ca34e56d39e89046d897d0cae743b439 100644 (file)
 #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