Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust/kernel: remove config
#ifdef
in mutex.rs file
The use of `#ifdef CONFIG_` statements in .c/.rs files should be avoided: it makes the code much more unmaintainable over time. See: https://lore.kernel.org/lkml/YLjWKwhp7akqyR1S@kroah.com/ Use a Rust-C helper instead to leverage automatic `CONFIG` selection in C kernel headers. Signed-off-by: Sven Van Asbroeck <thesven73@gmail.com>
- Loading branch information