summaryrefslogtreecommitdiff
path: root/crates/alloc_buddy/src/tree.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/alloc_buddy/src/tree.rs')
-rw-r--r--crates/alloc_buddy/src/tree.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/alloc_buddy/src/tree.rs b/crates/alloc_buddy/src/tree.rs
index e04605b..19415f8 100644
--- a/crates/alloc_buddy/src/tree.rs
+++ b/crates/alloc_buddy/src/tree.rs
@@ -98,3 +98,8 @@ impl<const PAGE_SIZE: usize, const PAGE_SIZE_BITS: usize> Tree<PAGE_SIZE, PAGE_S
(tree_addr_lo..tree_addr_hi).contains(&addr)
}
}
+
+unsafe impl<const PAGE_SIZE: usize, const PAGE_SIZE_BITS: usize> Send
+ for Tree<PAGE_SIZE, PAGE_SIZE_BITS>
+{
+}