Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Tue, 11 May 2021 11:29:29 +0200 | Subject | Re: [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
| |