summaryrefslogtreecommitdiff
path: root/rust/bindings
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2025-02-24 18:39:35 -0500
committerYury Norov <yury.norov@gmail.com>2025-02-28 13:34:40 -0500
commit73656765baae30ea8bcb1bcd7fd013e3b017b801 (patch)
tree5da9d1de1fcdf21d16a46ab530346fabfd3ed9ca /rust/bindings
parent1e7933a575ed8af4a64dd5089c2f6912da66dd79 (diff)
rust: Add cpumask helpers
In order to prepare for adding Rust abstractions for cpumask, add the required helpers for inline cpumask functions that cannot be called by rust code directly. Reviewed-by: Alice Ryhl <aliceryhl@google.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com>
Diffstat (limited to 'rust/bindings')
-rw-r--r--rust/bindings/bindings_helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h
index f46cf3bb70695..2396ca1cf8fb3 100644
--- a/rust/bindings/bindings_helper.h
+++ b/rust/bindings/bindings_helper.h
@@ -10,6 +10,7 @@
#include <linux/blk-mq.h>
#include <linux/blk_types.h>
#include <linux/blkdev.h>
+#include <linux/cpumask.h>
#include <linux/cred.h>
#include <linux/device/faux.h>
#include <linux/errname.h>