types: Introduce [us]128
Introduce [us]128 (when available). Unlike [us]64, ensure they are always naturally aligned. This also enables 128bit wide atomics (which require natural alignment) such as cmpxchg128(). Signed-off-by:Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by:
Arnd Bergmann <arnd@arndb.de> Reviewed-by:
Mark Rutland <mark.rutland@arm.com> Acked-by:
Herbert Xu <herbert@gondor.apana.org.au> Tested-by:
Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20230531132323.385005581@infradead.org
Showing
- include/linux/types.h 5 additions, 0 deletionsinclude/linux/types.h
- include/uapi/linux/types.h 4 additions, 0 deletionsinclude/uapi/linux/types.h
- lib/crypto/curve25519-hacl64.c 0 additions, 2 deletionslib/crypto/curve25519-hacl64.c
- lib/crypto/poly1305-donna64.c 0 additions, 2 deletionslib/crypto/poly1305-donna64.c
Please register or sign in to comment