summaryrefslogtreecommitdiffstats
path: root/include/linux/timerlist.h
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2010-12-09 12:02:18 -0800
committerJohn Stultz <john.stultz@linaro.org>2010-12-10 11:52:17 -0800
commit1f5a24794a54588ea3a9efd521be31d826e0b9d7 (patch)
tree58dd33af6093cd3a0fed59a12ed41d6c7d8083ba /include/linux/timerlist.h
parent87de5ac782761a3ebf806e434e8c9cc205a87274 (diff)
timers: Rename timerlist infrastructure to timerqueue
Thomas pointed out a namespace collision between the new timerlist infrastructure I introduced and the existing timer_list.c So to avoid confusion, I've renamed the timerlist infrastructure to timerqueue. Reported-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/timerlist.h')
-rw-r--r--include/linux/timerlist.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/include/linux/timerlist.h b/include/linux/timerlist.h
deleted file mode 100644
index c46b28ae6e4..00000000000
--- a/include/linux/timerlist.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef _LINUX_TIMERLIST_H
-#define _LINUX_TIMERLIST_H
-
-#include <linux/rbtree.h>
-#include <linux/ktime.h>
-
-
-struct timerlist_node {
- struct rb_node node;
- ktime_t expires;
-};
-
-struct timerlist_head {
- struct rb_root head;
- struct timerlist_node *next;
-};
-
-
-extern void timerlist_add(struct timerlist_head *head,
- struct timerlist_node *node);
-extern void timerlist_del(struct timerlist_head *head,
- struct timerlist_node *node);
-extern struct timerlist_node *timerlist_getnext(struct timerlist_head *head);
-extern struct timerlist_node *timerlist_iterate_next(
- struct timerlist_node *node);
-
-static inline void timerlist_init(struct timerlist_node *node)
-{
- RB_CLEAR_NODE(&node->node);
-}
-
-static inline void timerlist_init_head(struct timerlist_head *head)
-{
- head->head = RB_ROOT;
- head->next = NULL;
-}
-#endif /* _LINUX_TIMERLIST_H */