Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp813971pxj; Fri, 11 Jun 2021 12:12:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgKi61KGdAxqedxr0TOs51dRTx7IyhcVM1SLHAxPlHjOYFKzDL20+abfpjMJu7rFRfPVow X-Received: by 2002:aa7:c619:: with SMTP id h25mr5190075edq.388.1623438735174; Fri, 11 Jun 2021 12:12:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623438735; cv=none; d=google.com; s=arc-20160816; b=gT+v95NPjEmvwjgHK/2+z3QisFJtVNEtvbG4lJP3p4QPW2T7jyHa35/QRCq4YVnIlE OcI4O+wIgFs/5V5SqvvU3vGram1LhqJzMA8HqGUHnboO6oDi28IKvrSN8qw6+IeSZaod AISMGwVTGbKpfEPBUPS1FFirzj4GTKys7DnjscP/StFipm8yBgVbPAOaypvCRXgU0Q8d D8tLz7gNlTWAZV1uXVQoXdxRkfPywjf/W/AM8pt0psiXkzYKzEUTXDRnB5U/D6w7jgfK bByh0SPArWXdDmUZSRcjK7S2fPCqYwcWgs9FMlambtwIr3xRe8b5sX+ZAfeaqXr1EY4X JgWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:cc:to:subject:from:message-id; bh=jPXuAGE989X++PSoubQjwGLJ4CYdBiwfjQNc9Qy980w=; b=fs6fx8qUrrllgTYl59veyYNxamiV6VqsWUkKhB22n2FbN8gSopiWwJKMD1iYel3WLk FMUDPcxMQm4GsL2XDc//+zFMAH4l5NEw38GBf+5NnirPGvbF+VPDdoXj/xSr3VOqnc9f U/eFzJR8PEDtvstxhmWnnh/qFNjblyfcqmmYp6aT4m2pxUugw0rKyzVuGDAl44oPqAME GAM4Os2MPHS/Oyov6w6NgY1icHbJdIRqqAylI7jsuZwY05cp6xW5L7HoEpW7YuPGnw4a eyaCu0SocpSNFXwxqFBrlkm5c06u+qU0/6QpETrUSqN8CmyJ53SdESGDWDqdMNc94r4n B2bw== 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 c4si6721221edd.226.2021.06.11.12.11.51; Fri, 11 Jun 2021 12:12:15 -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 S230374AbhFKTM5 (ORCPT + 99 others); Fri, 11 Jun 2021 15:12:57 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:64288 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229685AbhFKTM5 (ORCPT ); Fri, 11 Jun 2021 15:12:57 -0400 Received: from localhost (mailhub3.si.c-s.fr [192.168.12.233]) by localhost (Postfix) with ESMTP id 4G1r6B1QDYzBB8Q; Fri, 11 Jun 2021 21:10:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eH9Pu4L-O0Yk; Fri, 11 Jun 2021 21:10:58 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4G1r6B0HwCzBB8B; Fri, 11 Jun 2021 21:10:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id DA6B98B84C; Fri, 11 Jun 2021 21:10:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id v8zQL_Vn6FaM; Fri, 11 Jun 2021 21:10:57 +0200 (CEST) Received: from po9473vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 91F748B848; Fri, 11 Jun 2021 21:10:57 +0200 (CEST) Received: by po9473vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 4D97366132; Fri, 11 Jun 2021 19:10:57 +0000 (UTC) Message-Id: <1fff2054e5dfc00329804dbd3f2a91667c9a8aff.1623438544.git.christophe.leroy@csgroup.eu> From: Christophe Leroy Subject: [PATCH 1/2] powerpc/64: drop redundant defination of spin_until_cond To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Sudeep Holla Date: Fri, 11 Jun 2021 19:10:57 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sudeep Holla linux/processor.h has exactly same defination for spin_until_cond. Drop the redundant defination in asm/processor.h Cc: Nicholas Piggin Cc: Michael Ellerman Signed-off-by: Sudeep Holla Signed-off-by: Christophe Leroy --- That's just a rebase arch/powerpc/include/asm/processor.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index 7bf8a15af224..0819854eeab9 100644 --- a/arch/powerpc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h @@ -339,17 +339,6 @@ static inline unsigned long __pack_fe01(unsigned int fpmode) #define spin_end() HMT_medium() -#define spin_until_cond(cond) \ -do { \ - if (unlikely(!(cond))) { \ - spin_begin(); \ - do { \ - spin_cpu_relax(); \ - } while (!(cond)); \ - spin_end(); \ - } \ -} while (0) - #endif /* Check that a certain kernel stack pointer is valid in task_struct p */ -- 2.25.0