Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3354321pxj; Tue, 11 May 2021 02:32:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxElTLwlIRHQVA3RYSDgqrJNWoGQ+qE368dOGsa1LHxXNlpI87h6RLzSeJTaPBLzCH732wJ X-Received: by 2002:a17:906:aaca:: with SMTP id kt10mr31171415ejb.227.1620725574636; Tue, 11 May 2021 02:32:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620725574; cv=none; d=google.com; s=arc-20160816; b=flyeT4QNkaGk4PNgR6l9m/3Qjq+4zsA4htV9Mqa2rFM10i7eEDcrQ+Y2x/+a2cB4t0 e29cP3oi8yrK4iPkXlkEFDexLiJ3EnKAZGOZkEs5H6/L9REnIoZQK8pNgh8emNCQ5h2j bi4Dy79q6wQAOnqyTxLi9o6mU+5mpShpPvtDLJ6KVq+QPbgvLIhRLdRrXJaRcKRVX/W5 BjBxMCJQcHnELUPMcl6thAxTG25DO9R8Fgy8yHSiFPlXqvznprXpnMBS1L4nQdsR9toQ LyXvajY3HR0C0s6hMu1vNUP4hycEIGd1Eg2+Gg1j/YAMEhbkesRUgDzRIzAtSo6guQNy ol8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=Ri/VsEyJ9iCvBdMBfq5AClEwg5h2TFv5KazhQYFgC+Q=; b=cZ1iycWURjoUdQxVcaTe3a2Kgef1hpO177iCfdyGCG0L/lGKzajTaydoNNIQb4TL9E wrPJQOCcBQVrhpeQp5A9iWKbkiZuW1IYPX/UJmeWFHnJmxTYmWqn7zS2gD6fW6pmR1z3 zGuYbWJHwxxTNNGGSBRg+sa+aMaYgRoOi773JqBkOV90v1heyZFZ54iat4d2MsdVE407 oBmQ3HwIe6D2JQKkmqres8fttPruzHWpZWSW2CztlVSC8jVchcSlMlXIuSTKqJswQd9F ExpiDsncf6oESkfJ9OggEKuscLKbFRn7tFhY9wZ9QXYzw3a2Z5v/rGnbXi6VUrp4Y5Jr W1Og== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt20si16316309ejb.445.2021.05.11.02.32.31; Tue, 11 May 2021 02:32:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231220AbhEKJar (ORCPT + 99 others); Tue, 11 May 2021 05:30:47 -0400 Received: from mail-vk1-f173.google.com ([209.85.221.173]:37784 "EHLO mail-vk1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230333AbhEKJaq (ORCPT ); Tue, 11 May 2021 05:30:46 -0400 Received: by mail-vk1-f173.google.com with SMTP id b21so3926060vkb.4 for ; Tue, 11 May 2021 02:29:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ri/VsEyJ9iCvBdMBfq5AClEwg5h2TFv5KazhQYFgC+Q=; b=GiNZ4kIZeElWMCNobA333l7CA51/b0JFq70D6Pl5GyI6kKLRvzZzV5RZGY76mafFRk 6LtfIHanJsnS3VpROn4i1sxD+iAojX9r3cgoFvmwiGO3CX3EtQ+jTnIe0VMtZb5LsM4M dzaNvHbxQZSsyhdTO5Hw3W9HU4PLFqeEp6NDJttLHD1s9uvT1PKWKS0qfJDRAGQ+sMSw EY4uXOs94eNsJ1cWxCLtJy6EXlQGQOWlKx7JDCioKn3SCfLjtaRfrJxmCzoUzY/ojFDT XW9GciB5/nITxog8DwqdIyXyZWLbkmg1/k6K9t17sLflLtTGHEJckA5AKwNJYNCLUASH RYyQ== X-Gm-Message-State: AOAM532aHbqspW7wbBSfuqbw7lUZ2vUF5AMPqnrC9/z3IrYjNWVahUM5 ZKISLGBUvW8b8ugtvV4X0a/IMI81EAgmmBGwBME= X-Received: by 2002:a1f:a388:: with SMTP id m130mr21519415vke.1.1620725380281; Tue, 11 May 2021 02:29:40 -0700 (PDT) MIME-Version: 1.0 References: <20210510093753.40683-1-mark.rutland@arm.com> <20210510093753.40683-12-mark.rutland@arm.com> In-Reply-To: <20210510093753.40683-12-mark.rutland@arm.com> From: Geert Uytterhoeven Date: Tue, 11 May 2021 11:29:29 +0200 Message-ID: Subject: Re: [PATCH 11/33] locking/atomic: cmpxchg: make `generic` a prefix To: Mark Rutland Cc: Linux Kernel Mailing List , Will Deacon , Boqun Feng , Peter Zijlstra , Albert Ou , Arnd Bergmann , Brian Cain , Benjamin Herrenschmidt , Chris Zankel , Rich Felker , "David S. Miller" , Vincent Chen , Helge Deller , Greentime Hu , Guo Ren , Ivan Kokshaysky , James Bottomley , Max Filippov , Jonas Bonn , Ley Foon Tan , Russell King , Matt Turner , Michal Simek , Michael Ellerman , Nick Hu , Palmer Dabbelt , Paul Mackerras , Paul Walmsley , Richard Henderson , Stafford Horne , Stefan Kristiansson , Thomas Bogendoerfer , Vineet Gupta , Yoshinori Sato Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 10, 2021 at 11:40 AM Mark Rutland 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 > arch/m68k/include/asm/cmpxchg.h | 2 +- Acked-by: Geert Uytterhoeven 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