Messages in this thread | | | Date | Tue, 17 Nov 2020 13:27:50 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH 01/13] seqnum_ops: Introduce Sequence Number Ops |
| |
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.
| |