File tree Expand file tree Collapse file tree 3 files changed +573
-0
lines changed Expand file tree Collapse file tree 3 files changed +573
-0
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,13 @@ bool rust_helper_refcount_dec_and_test(refcount_t *r)
164164}
165165EXPORT_SYMBOL_GPL (rust_helper_refcount_dec_and_test );
166166
167+ void rust_helper_rb_link_node (struct rb_node * node , struct rb_node * parent ,
168+ struct rb_node * * rb_link )
169+ {
170+ rb_link_node (node , parent , rb_link );
171+ }
172+ EXPORT_SYMBOL_GPL (rust_helper_rb_link_node );
173+
167174/* We use bindgen's --size_t-is-usize option to bind the C size_t type
168175 * as the Rust usize type, so we can use it in contexts where Rust
169176 * expects a usize like slice (array) indices. usize is defined to be
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ pub mod traits;
5555
5656pub mod linked_list;
5757mod raw_list;
58+ pub mod rbtree;
5859
5960#[ doc( hidden) ]
6061pub mod module_param;
You can’t perform that action at this time.
0 commit comments