Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1506153
| From | Sebastian Andrzej Siewior <bigeasy@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/5] rbtree: include rcu.h because we use it |
| Date | 2016-10-21 19:10 +0200 |
| Message-ID | <suLuq-ag-27@gated-at.bofh.it> (permalink) |
| References | <suLup-ag-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Since commit c1adf20052d8 ("Introduce rb_replace_node_rcu()")
rbtree_augmented.h uses RCU related data structures but does not include
them. It works as long as gets somehow included before that and fails
otherwise.
Cc: David Howells <dhowells@redhat.com>
Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
include/linux/rbtree_augmented.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/rbtree_augmented.h b/include/linux/rbtree_augmented.h
index d076183e49be..36bfb4dd57ae 100644
--- a/include/linux/rbtree_augmented.h
+++ b/include/linux/rbtree_augmented.h
@@ -26,6 +26,7 @@
#include <linux/compiler.h>
#include <linux/rbtree.h>
+#include <linux/rcupdate.h>
/*
* Please note - only struct rb_augment_callbacks and the prototypes for
--
2.9.3
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 2/5] rbtree: include rcu.h because we use it Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-10-21 19:10 +0200
csiph-web