[PATCH 1/8] radix-tree: Add an explicit include of bitops.h

From: Matthew Wilcox
Date: Tue Jan 19 2016 - 09:26:07 EST


From: Matthew Wilcox <willy@xxxxxxxxxxxxxxx>

The radix-tree header uses the __ffs() function, which is defined
in bitops.h. The current kernel headers implicitly include bitops.h,
but the userspace test harness does not.

Signed-off-by: Matthew Wilcox <willy@xxxxxxxxxxxxxxx>
---
include/linux/radix-tree.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h
index 7c88ad1..35b3d11 100644
--- a/include/linux/radix-tree.h
+++ b/include/linux/radix-tree.h
@@ -21,6 +21,7 @@
#ifndef _LINUX_RADIX_TREE_H
#define _LINUX_RADIX_TREE_H

+#include <linux/bitops.h>
#include <linux/preempt.h>
#include <linux/types.h>
#include <linux/bug.h>
--
2.7.0.rc3