summaryrefslogtreecommitdiff
path: root/rust/kernel/lib.rs
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2024-06-06 15:23:39 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2025-05-19 12:55:40 +0530
commit8961b8cb3099abd06486394aaf12dd535baaf070 (patch)
treeb00211fd337df1e4aa8edf956837d1f15f32b8d8 /rust/kernel/lib.rs
parenta7e735169db72c6c991a5f8397fb094a80ea3391 (diff)
rust: cpumask: Add initial abstractions
Add initial Rust abstractions for struct cpumask, covering a subset of its APIs. Additional APIs can be added as needed. These abstractions will be used in upcoming Rust support for cpufreq and OPP frameworks. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Yury Norov [NVIDIA] <yury.norov@gmail.com>
Diffstat (limited to 'rust/kernel/lib.rs')
-rw-r--r--rust/kernel/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/kernel/lib.rs b/rust/kernel/lib.rs
index de07aadd1ff5..75f78f6bfaa6 100644
--- a/rust/kernel/lib.rs
+++ b/rust/kernel/lib.rs
@@ -42,6 +42,7 @@ pub mod alloc;
pub mod block;
#[doc(hidden)]
pub mod build_assert;
+pub mod cpumask;
pub mod cred;
pub mod device;
pub mod device_id;