[RFC 2/2] rust: sync: Add atomic support

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Jun 12 22:40:04 PDT 2024


On Wed, Jun 12, 2024 at 03:30:25PM -0700, Boqun Feng wrote:
> --- /dev/null
> +++ b/rust/kernel/sync/atomic/impl.rs
> @@ -0,0 +1,1375 @@
> +// SPDX-License-Identifier: GPL-2.0
> +
> +//! Generated by scripts/atomic/gen-rust-atomic.sh
> +//! DO NOT MODIFY THIS FILE DIRECTLY

Again, why not generate at build time?

thanks,

greg k-h



More information about the linux-arm-kernel mailing list