[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201117122750.GH3121406@hirez.programming.kicks-ass.net>
Date: Tue, 17 Nov 2020 13:27:50 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Shuah Khan <skhan@...uxfoundation.org>
Cc: Kees Cook <keescook@...omium.org>,
Greg KH <gregkh@...uxfoundation.org>, corbet@....net,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
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.
Powered by blists - more mailing lists