lkml.org 
[lkml]   [2021]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 11/33] locking/atomic: cmpxchg: make `generic` a prefix
On Mon, May 10, 2021 at 11:40 AM Mark Rutland <mark.rutland@arm.com> wrote:
> The asm-generic implementations of cmpxchg_local() and cmpxchg64_local()
> use a `_generic` suffix to distinguish themselves from arch code or
> wrappers used elsewhere.
>
> Subsequent patches will add ARCH_ATOMIC support to these
> implementations, and will distinguish more functions with a `generic`
> portion. To align with how ARCH_ATOMIC uses an `arch_` prefix, it would
> be helpful to use a `generic_` prefix rather than a `_generic` suffix.
>
> In preparation for this, this patch renames the existing functions to
> make `generic` a prefix rather than a suffix. There should be no
> functional change as a result of this patch.
>
> Signed-off-by: Mark Rutland <mark.rutland@arm.com>

> arch/m68k/include/asm/cmpxchg.h | 2 +-

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

\
 
 \ /
  Last update: 2021-05-11 11:30    [W:0.394 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site