projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7b85ca
)
radix-tree: add an explicit include of bitops.h
author
Matthew Wilcox
<
[email protected]
>
Thu, 17 Mar 2016 21:21:42 +0000
(14:21 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 17 Mar 2016 22:09:34 +0000
(15:09 -0700)
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 <
[email protected]
>
Cc: Johannes Weiner <
[email protected]
>
Cc: Matthew Wilcox <
[email protected]
>
Cc: "Kirill A. Shutemov" <
[email protected]
>
Cc: Ross Zwisler <
[email protected]
>
Cc: Hugh Dickins <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/radix-tree.h
patch
|
blob
|
history
diff --git
a/include/linux/radix-tree.h
b/include/linux/radix-tree.h
index f54be708220760f9a367f4a29ca1cbe7cfb7fba2..39598b9cf1d98bd0a63e762101837c938ab94f5a 100644
(file)
--- 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>