Re: [PATCH 4/4] random: vDSO: don't use 64 bits atomics on 32 bits architectures

2024-08-27 Thread Jason A. Donenfeld
On Tue, Aug 27, 2024 at 09:31:50AM +0200, Christophe Leroy wrote: > Performing SMP atomic operations on u64 fails on powerpc32: Thanks for this, and nice catch on the vDSO side checking on big endian. I've applied this, fixing up the commit message and the comment, maintaining the reverse christma

[PATCH 4/4] random: vDSO: don't use 64 bits atomics on 32 bits architectures

2024-08-27 Thread Christophe Leroy
Performing SMP atomic operations on u64 fails on powerpc32: CC drivers/char/random.o In file included from : drivers/char/random.c: In function 'crng_reseed': ././include/linux/compiler_types.h:510:45: error: call to '__compiletime_assert_391' declared with attribute error: Need na