diff options
| author | Alice Ryhl <[email protected]> | 2024-03-08 09:36:31 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2024-03-31 18:44:55 +0000 |
| commit | 7d49f53af4b988b188d3932deac2c9c80fd7d9ce (patch) | |
| tree | 5bbab112df9fa0820c3382139cacb2b628ebf4f0 /rust/macros/module.rs | |
| parent | Linux 6.9-rc1 (diff) | |
| download | kernel-7d49f53af4b988b188d3932deac2c9c80fd7d9ce.tar.gz kernel-7d49f53af4b988b188d3932deac2c9c80fd7d9ce.zip | |
rust: don't select CONSTRUCTORS
This was originally part of commit 4b9a68f2e59a0 ("rust: add support for
static synchronisation primitives") from the old Rust branch, which used
module constructors to initialize globals containing various
synchronisation primitives with pin-init. That commit has never been
upstreamed, but the `select CONSTRUCTORS` statement ended up being
included in the patch that initially added Rust support to the Linux
Kernel.
We are not using module constructors, so let's remove the select.
Signed-off-by: Alice Ryhl <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Cc: [email protected]
Fixes: 2f7ab1267dc9 ("Kbuild: add Rust support")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/macros/module.rs')
0 files changed, 0 insertions, 0 deletions
