rust: cpumask: Add initial abstractions
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 6 Jun 2024 09:53:39 +0000 (15:23 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 19 May 2025 07:25:40 +0000 (12:55 +0530)
commit8961b8cb3099abd06486394aaf12dd535baaf070
treeb00211fd337df1e4aa8edf956837d1f15f32b8d8
parenta7e735169db72c6c991a5f8397fb094a80ea3391
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>
rust/kernel/cpumask.rs [new file with mode: 0644]
rust/kernel/lib.rs