----- Ursprüngliche Mail ----- > Von: "Boqun Feng" <[email protected]> > An: "linux-um" <[email protected]>, "x86" <[email protected]> > CC: "richard" <[email protected]>, "anton ivanov" > <[email protected]>, "Johannes Berg" > <[email protected]>, "tglx" <[email protected]>, "mingo" > <[email protected]>, "bp" <[email protected]>, "dave > hansen" <[email protected]>, "hpa" <[email protected]>, "Miguel Ojeda" > <[email protected]>, "Boqun Feng" > <[email protected]>, "Gary Guo" <[email protected]>, "Björn Roy Baron" > <[email protected]>, "Benno Lossin" > <[email protected]>, "Andreas Hindborg" <[email protected]>, "Alice Ryhl" > <[email protected]>, "Trevor Gross" > <[email protected]>, "dakr" <[email protected]>, "linux-kernel" > <[email protected]>, "Rust for Linux Kernel" > <[email protected]>, "FUJITA Tomonori" > <[email protected]> > Gesendet: Dienstag, 6. Januar 2026 04:40:34 > Betreff: [PATCH] arch: um/x86: Select ARCH_SUPPORTS_ATOMIC_RMW for UML_X86
> x86 atomic instructions are used for um on UML_X86, therefore atomics > on UML_X86 support native atomic RmW as x86 does, hence select > ARCH_SUPPORTS_ATOMIC_RMW. > > Signed-off-by: Boqun Feng <[email protected]> > --- > UM & x86 maintainers, > > I need this to avoid a build error for Rust atomics since Rust currently > only support Atomic<i8/i16> on ARCH_SUPPORTS_ATOMIC_RMW archs. I will > add it to my upcoming PR if I get some Acked-by, thanks! > > arch/x86/um/Kconfig | 1 + > 1 file changed, 1 insertion(+) Acked-by: Richard Weinberger <[email protected]> Thanks, //richard
