diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2025-08-21 09:20:54 +0900 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-08-21 16:58:07 +0200 |
commit | 842aedc3907deb154eedb88c7e4c3278c9b33701 (patch) | |
tree | b67620de5b6620ca04e5f76a16729efc6663e509 /rust/helpers/helpers.c | |
parent | 44d454fcffa8b08d6d66df132121c1d387fa85db (diff) |
rust: Add cpu_relax() helper
Add cpu_relax() helper in preparation for supporting
read_poll_timeout().
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Link: https://lore.kernel.org/r/20250821002055.3654160-2-fujita.tomonori@gmail.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
-rw-r--r-- | rust/helpers/helpers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/helpers/helpers.c b/rust/helpers/helpers.c index 44b2005d5014..a90a87cff38c 100644 --- a/rust/helpers/helpers.c +++ b/rust/helpers/helpers.c @@ -35,6 +35,7 @@ #include "pid_namespace.c" #include "platform.c" #include "poll.c" +#include "processor.c" #include "property.c" #include "rbtree.c" #include "rcu.c" |