From patchwork Sun Dec 30 16:08:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 10745113 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4829913BF for ; Sun, 30 Dec 2018 16:08:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B2CB288CD for ; Sun, 30 Dec 2018 16:08:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1EDBA2891A; Sun, 30 Dec 2018 16:08:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3BA30288CD for ; Sun, 30 Dec 2018 16:08:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gt04DDiuw6/o9MPqYbvorS4IqeCJkbWOnsLvrhDNF6Q=; b=m5IsExUMUcNkwZ hWOduyfDs7vUEkYvzXabp7L1S0q5tVLodKeFrEhcV3Rqvfp9mc5PjDrUU0pRl2H4UPNRXWZ8UsxFu 1d+I3ashJcNk+dQUT9Kn+9hgCpxP8D+Ami6KllHuHyE6QgdJi9Qo50cJsAazseCy/w8VlUSvHCh2i 5tcPHCFNjHeYudDoGE/xaKXG6n9GuU8z7XbKMiQvZLabjWaxUE8RRVHevyxwYx79GsowSQ6/g4rCD 2jrtv/eVcCKr8IWOXAUphPZGBdkg/K2q0yX7+rCoQ6/o3WnCTPFklXy1o1+t2lMVuh5IA4nuVXt9I Doxpnn8MrtunVKOJKPqQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gdddl-0006oF-P1; Sun, 30 Dec 2018 16:08:37 +0000 Received: from mail.kmu-office.ch ([2a02:418:6a02::a2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gdddi-0006lx-67 for linux-arm-kernel@lists.infradead.org; Sun, 30 Dec 2018 16:08:35 +0000 Received: from zyt.lan (unknown [IPv6:2a02:169:3465::564]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 830505C15D7; Sun, 30 Dec 2018 17:08:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1546186096; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wHZ+5wVBKdrXHtPOlXGesXY7FAd4RXaImoF2BmZY4TI=; b=TWVKCXmzSWksDjBXpJP9rkRXA6Xw3SK6XmzwC6atbIXlgWRfyzVdwEJ6UbCjVcydHwwQcc qAWv1S3kLFR/mQxXddm8NvncjnkTA1hayDi/wnDOdrmi6sESopiOk6crQygSmuNsy4LK7v MLpY01M8LUYoOUMnRbgPH22ox2gM6Jg= From: Stefan Agner To: linux@armlinux.org.uk Subject: [PATCH 3/3] ARM: spinlock: use unified assembler language syntax Date: Sun, 30 Dec 2018 17:08:19 +0100 Message-Id: <088ecb1e526e3ccfd58dd3f7cae8a98edd23008c.1546185298.git.stefan@agner.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181230_080834_430731_477EA792 X-CRM114-Status: GOOD ( 11.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nicolas.pitre@linaro.org, mark.rutland@arm.com, arnd@arndb.de, ard.biesheuvel@linaro.org, peterz@infradead.org, will.deacon@arm.com, julien.thierry@arm.com, ndesaulniers@google.com, linux-kernel@vger.kernel.org, Stefan Agner , mingo@redhat.com, natechancellor@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Convert the conditional infix to a postfix to make sure this inline assembly is unified syntax. Signed-off-by: Stefan Agner --- arch/arm/include/asm/spinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/spinlock.h b/arch/arm/include/asm/spinlock.h index 099c78fcf62d..563ecedf2a1f 100644 --- a/arch/arm/include/asm/spinlock.h +++ b/arch/arm/include/asm/spinlock.h @@ -214,7 +214,7 @@ static inline void arch_read_lock(arch_rwlock_t *rw) " adds %0, %0, #1\n" " strexpl %1, %0, [%2]\n" WFE("mi") -" rsbpls %0, %1, #0\n" +" rsbspl %0, %1, #0\n" " bmi 1b" : "=&r" (tmp), "=&r" (tmp2) : "r" (&rw->lock)