aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMichel Lespinasse <walken@google.com>2012-10-08 19:31:20 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-09 03:22:38 -0400
commit9d9e6f9703bbd642f3f2f807e6aaa642a4cbcec9 (patch)
tree6d0061d6c1369bb006da753cc2cea55df60efe0f /include/linux
parent14b94af0b251a2c80885b60538166fb7d04a642e (diff)
rbtree: remove prior augmented rbtree implementation
convert arch/x86/mm/pat_rbtree.c to the proposed augmented rbtree api and remove the old augmented rbtree implementation. Signed-off-by: Michel Lespinasse <walken@google.com> Acked-by: Rik van Riel <riel@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/rbtree.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/rbtree.h b/include/linux/rbtree.h
index c902eb9d6506..4ace31b33380 100644
--- a/include/linux/rbtree.h
+++ b/include/linux/rbtree.h
@@ -80,14 +80,6 @@ rb_insert_augmented(struct rb_node *node, struct rb_root *root,
80} 80}
81 81
82 82
83typedef void (*rb_augment_f)(struct rb_node *node, void *data);
84
85extern void rb_augment_insert(struct rb_node *node,
86 rb_augment_f func, void *data);
87extern struct rb_node *rb_augment_erase_begin(struct rb_node *node);
88extern void rb_augment_erase_end(struct rb_node *node,
89 rb_augment_f func, void *data);
90
91/* Find logical next and previous nodes in a tree */ 83/* Find logical next and previous nodes in a tree */
92extern struct rb_node *rb_next(const struct rb_node *); 84extern struct rb_node *rb_next(const struct rb_node *);
93extern struct rb_node *rb_prev(const struct rb_node *); 85extern struct rb_node *rb_prev(const struct rb_node *);