forked from rrcarlosr/Jetpack
31 lines
975 B
Diff
31 lines
975 B
Diff
From 6506c1344add3951bd35e01d2d640bda2d850d81 Mon Sep 17 00:00:00 2001
|
|
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
Date: Wed, 14 Sep 2016 11:52:17 +0200
|
|
Subject: [PATCH 035/352] rbtree: include rcu.h because we use it
|
|
|
|
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.
|
|
|
|
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 d076183..36bfb4d 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.7.4
|
|
|