Re: [PATCH 01/13] seqnum_ops: Introduce Sequence Number Ops

From: Peter Zijlstra
Date: Tue Nov 17 2020 - 07:28:17 EST


On Thu, Nov 12, 2020 at 02:27:49PM -0700, Shuah Khan wrote:

> atomic64_t depends on CONFIG_64BIT
>
> include/linux/types.h
>
> #ifdef CONFIG_64BIT
> typedef struct {
> s64 counter;
> } atomic64_t;
> #endif

That's because some 32bit archs need to override the type definition.
atomic64_t is available on 32bit, although sometimes it is atrocious
crap.