| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
|---|---|
| 2 | #ifndef _LINUX_TIMERQUEUE_TYPES_H |
| 3 | #define _LINUX_TIMERQUEUE_TYPES_H |
| 4 | |
| 5 | #include <linux/rbtree_types.h> |
| 6 | #include <linux/types.h> |
| 7 | |
| 8 | struct timerqueue_node { |
| 9 | struct rb_node node; |
| 10 | ktime_t expires; |
| 11 | }; |
| 12 | |
| 13 | struct timerqueue_head { |
| 14 | struct rb_root_cached rb_root; |
| 15 | }; |
| 16 | |
| 17 | #endif /* _LINUX_TIMERQUEUE_TYPES_H */ |
| 18 |
