Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp139809imj; Thu, 7 Feb 2019 01:49:30 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ5d6FmRg1uVKmScBm5gtUCHwQk2OKU3RJsjQdMUe7IhMtO+x76jNxrZJ/adrkHpywIIvyg X-Received: by 2002:a62:2606:: with SMTP id m6mr14927139pfm.133.1549532970229; Thu, 07 Feb 2019 01:49:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549532970; cv=none; d=google.com; s=arc-20160816; b=M4XU128nJmNKdMFVUeIYOU/j7HPSG/hCJtqV6wG9OJe9x/DhcXJYn0AxSnNCYfHtWf CkTYySDoSY+FgSF1FmrNs0/J8q8AIiL8ZvbDaeroNrnJwpFrjIwITdRFvEj/667gPAFx LkIov/+hdWx00jePxNlEuv4exliGovs2NK7EkRA0OrCXlDxo20xn23dme+FgBQr5zuF2 8i/KUkm7jFrDN+xlswRiB1wA47LE1NOOhh33BfTay9SPPbhoXmVpbUvsN6EYWZuH9jmz dYz8Y8U9CC6PBE+TbpCSPDICdT9IS3KAmPiNa7Q8v+tmYMyre10f7xkvd45vCleWQnK1 QmoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tCLBmaTR71ESXFFla8753iRBL+0oC+zULExKyNHdSxI=; b=nOVbtI2BxPjYeXxlbqoeSyCXK8BZ1ie9yoxvm1dN1FrEu0b7p1Cf5powx3DLZP7u0B 1d6JFH9ZeCyprQaWW99LZYJPuNoL5R74/Iei5CS4+5TuDMiTl5RComTpk4jfPg+gEi2s R267B3aYljd/XHPW9iQ11frt2K9ViXMhyg2hUK9WsGko6/tUEVxgzSuu2kvZrjmV47kG RjiEJdVX3avLEa9ZdGlIUzSgeNgdTfobHwxpPOuilGIfd4SJUTy/ej2zG2HOIW2JFYga FSNLyOVs9K02e/2QMBrM5fdaI90hzRhk+OuhVXJ69uXrMp5BfUl1EU5sOkCI3BxGalz5 110w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=aEEl25PQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3si8031269pgi.391.2019.02.07.01.49.14; Thu, 07 Feb 2019 01:49:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=aEEl25PQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726758AbfBGJq6 (ORCPT + 99 others); Thu, 7 Feb 2019 04:46:58 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:53530 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726615AbfBGJq5 (ORCPT ); Thu, 7 Feb 2019 04:46:57 -0500 Received: from zyt.lan (unknown [IPv6:2a02:169:34b6:0:5054:ff:fe4f:85bd]) by mail.kmu-office.ch (Postfix) with ESMTPSA id C6A155C1C93; Thu, 7 Feb 2019 10:46:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1549532815; 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=tCLBmaTR71ESXFFla8753iRBL+0oC+zULExKyNHdSxI=; b=aEEl25PQ38cbkLrxoHe/LFhNjA/ohffZIGLODN5N5yBAic0iXwhdJuup+I/atXq96dXFoz XBHJYEPySgOqO61Zr/yJhT0S2IVRe72rUaWqUXZi2rN63bXbcrbwe+miyUuWdGqUnC7OIQ +pdO3d20sgVMYtSjAS0ldUZwS+5DX1A= From: Stefan Agner To: linux@armlinux.org.uk Cc: ndesaulniers@google.com, natechancellor@gmail.com, arnd@arndb.de, ard.biesheuvel@linaro.org, nicolas.pitre@linaro.org, thierry.reding@gmail.com, will.deacon@arm.com, julien.thierry@arm.com, mark.rutland@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Agner Subject: [PATCH 1/5] ARM: use unified assembler in macros Date: Thu, 7 Feb 2019 10:48:25 +0100 Message-Id: <5b710816f634307d6a67ffcf7e4b538818dcb2a3.1549532513.git.stefan@agner.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use unified assembler syntax (UAL) in macros. Divided syntax is considered depricated. This will also allow to build the kernel using LLVM's integrated assembler. Signed-off-by: Stefan Agner --- arch/arm/lib/copy_from_user.S | 2 +- arch/arm/lib/copy_to_user.S | 2 +- arch/arm/lib/memcpy.S | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/lib/copy_from_user.S b/arch/arm/lib/copy_from_user.S index 0d4c189c7f4f..712ca399f559 100644 --- a/arch/arm/lib/copy_from_user.S +++ b/arch/arm/lib/copy_from_user.S @@ -91,7 +91,7 @@ .endm .macro str1b ptr reg cond=al abort - str\cond\()b \reg, [\ptr], #1 + strb\cond\() \reg, [\ptr], #1 .endm .macro enter reg1 reg2 diff --git a/arch/arm/lib/copy_to_user.S b/arch/arm/lib/copy_to_user.S index 97a6ff4b7e3c..2e402b815e13 100644 --- a/arch/arm/lib/copy_to_user.S +++ b/arch/arm/lib/copy_to_user.S @@ -49,7 +49,7 @@ .endm .macro ldr1b ptr reg cond=al abort - ldr\cond\()b \reg, [\ptr], #1 + ldrb\cond\() \reg, [\ptr], #1 .endm #ifdef CONFIG_CPU_USE_DOMAINS diff --git a/arch/arm/lib/memcpy.S b/arch/arm/lib/memcpy.S index 64111bd4440b..1c9e625148ca 100644 --- a/arch/arm/lib/memcpy.S +++ b/arch/arm/lib/memcpy.S @@ -30,7 +30,7 @@ .endm .macro ldr1b ptr reg cond=al abort - ldr\cond\()b \reg, [\ptr], #1 + ldrb\cond\() \reg, [\ptr], #1 .endm .macro str1w ptr reg abort @@ -42,7 +42,7 @@ .endm .macro str1b ptr reg cond=al abort - str\cond\()b \reg, [\ptr], #1 + strb\cond\() \reg, [\ptr], #1 .endm .macro enter reg1 reg2 -- 2.20.1