diff options
author | Michel Lespinasse <walken@google.com> | 2012-10-08 19:31:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-09 03:22:38 -0400 |
commit | 9d9e6f9703bbd642f3f2f807e6aaa642a4cbcec9 (patch) | |
tree | 6d0061d6c1369bb006da753cc2cea55df60efe0f /include/linux | |
parent | 14b94af0b251a2c80885b60538166fb7d04a642e (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.h | 8 |
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 | ||
83 | typedef void (*rb_augment_f)(struct rb_node *node, void *data); | ||
84 | |||
85 | extern void rb_augment_insert(struct rb_node *node, | ||
86 | rb_augment_f func, void *data); | ||
87 | extern struct rb_node *rb_augment_erase_begin(struct rb_node *node); | ||
88 | extern 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 */ |
92 | extern struct rb_node *rb_next(const struct rb_node *); | 84 | extern struct rb_node *rb_next(const struct rb_node *); |
93 | extern struct rb_node *rb_prev(const struct rb_node *); | 85 | extern struct rb_node *rb_prev(const struct rb_node *); |