Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp139212imj; Thu, 7 Feb 2019 01:48:40 -0800 (PST) X-Google-Smtp-Source: AHgI3IacMW4BGxbXjEeRD7LhvSrNE7YT8C9IznZcLNoWEG94VYUag2KoC8zGIc7kAJSTewde+yRU X-Received: by 2002:a63:374e:: with SMTP id g14mr14267222pgn.59.1549532920109; Thu, 07 Feb 2019 01:48:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549532920; cv=none; d=google.com; s=arc-20160816; b=X8ewiMcSEWV9dRujmuB1Foj24OpzHdDqkmSCm5JbK5xkCxvubuXw+NlWkD4ontqBDS 9EVOJ/FoV/kzRh86wadBKvxM2moilsfCo3XO5K9CQeKZ4464k9aYhdax9rUy3q7MnonW YVqwv9w2Rrj5FBwpO/leZdgpfab7U6hNGUhVxZo1PKOfS8Dok+/aJQM+et5NraEl4dCQ jJtseogzp1su6TLx6ZzPHWkH3vJQjbcp51Cbz5olta27nSuiJDPd4SQMJNH63YR+l3Nd XaAD/i3es08u+yqLZLxM4EsqpAXrZ7nN5Ju8HCvnjewSP7NUFsGqO0ZIbK5S8KocjS2u HUtQ== 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=Q9JIjm2XShART9bRtAJa3PQf/5iayYwLOgmQZvNMPZ8=; b=T2vdtwju7NCujhJhmdgjqu8o+0CiEMbEOPX4CB5kPfdgTvoWpUMytu2MEDTmncikya up5oSKG6uetUCQtvaigre2fbQu5kF4eXhrZ6G4+PWD9fHux7XzWNekEKPFC6CZ9EkkeA 7g2R20BkXHwnpbyiiDQ6GP5FeXFksNp5Hhi6xajo/fWOv4SFDjJyoe3JZvpaYjOBSMRf aWn4t6jcjAQz7c9yt/HKyRBryQob8gaw5SRH6rbxQiR3WWMsiH/Hw7uHv6zMT3UWSwVM wQizq+GEn++m3Qw4PnboKisCjC66aC0ihEFElVOdS8jMsn4J35K+XsTdoix0oxTAxyPh ImLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=a800tihM; 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 v11si2085441pgs.210.2019.02.07.01.48.24; Thu, 07 Feb 2019 01:48:40 -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=a800tihM; 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 S1726967AbfBGJrX (ORCPT + 99 others); Thu, 7 Feb 2019 04:47:23 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:53590 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726666AbfBGJq5 (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 19F065C2075; Thu, 7 Feb 2019 10:46:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1549532816; 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=Q9JIjm2XShART9bRtAJa3PQf/5iayYwLOgmQZvNMPZ8=; b=a800tihMN7/H5PzVHaI5hn2PY5vShg2fdM6OQWBc7+/YK2zx7fj8Yr6yA4Cd4xYQIOWhuG IhF4PKc+Gl2B5c1JCae6XttVbdE2KHxureXgj46X8CLiiZKfN2FFx29le3+wZ34OM43Vvn pwharhwHIrFLFlgAsIvky+xdjDWBe8E= 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 4/5] ARM: use unified assembler in c files Date: Thu, 7 Feb 2019 10:48:28 +0100 Message-Id: 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 inline assembler. 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/mm/copypage-v4mc.c | 2 +- arch/arm/mm/copypage-v4wb.c | 2 +- arch/arm/mm/copypage-v4wt.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mm/copypage-v4mc.c b/arch/arm/mm/copypage-v4mc.c index b03202cddddb..b19c7ad1a6de 100644 --- a/arch/arm/mm/copypage-v4mc.c +++ b/arch/arm/mm/copypage-v4mc.c @@ -56,7 +56,7 @@ static void mc_copy_user_page(void *from, void *to) ldmia %0!, {r2, r3, ip, lr} @ 4\n\ subs %2, %2, #1 @ 1\n\ stmia %1!, {r2, r3, ip, lr} @ 4\n\ - ldmneia %0!, {r2, r3, ip, lr} @ 4\n\ + ldmiane %0!, {r2, r3, ip, lr} @ 4\n\ bne 1b @ " : "+&r" (from), "+&r" (to), "=&r" (tmp) : "2" (PAGE_SIZE / 64) diff --git a/arch/arm/mm/copypage-v4wb.c b/arch/arm/mm/copypage-v4wb.c index cd3e165afeed..6e3c9b69dd25 100644 --- a/arch/arm/mm/copypage-v4wb.c +++ b/arch/arm/mm/copypage-v4wb.c @@ -38,7 +38,7 @@ static void v4wb_copy_user_page(void *kto, const void *kfrom) ldmia %1!, {r3, r4, ip, lr} @ 4\n\ subs %2, %2, #1 @ 1\n\ stmia %0!, {r3, r4, ip, lr} @ 4\n\ - ldmneia %1!, {r3, r4, ip, lr} @ 4\n\ + ldmiane %1!, {r3, r4, ip, lr} @ 4\n\ bne 1b @ 1\n\ mcr p15, 0, %1, c7, c10, 4 @ 1 drain WB" : "+&r" (kto), "+&r" (kfrom), "=&r" (tmp) diff --git a/arch/arm/mm/copypage-v4wt.c b/arch/arm/mm/copypage-v4wt.c index 8614572e1296..4a40fa1cbc2a 100644 --- a/arch/arm/mm/copypage-v4wt.c +++ b/arch/arm/mm/copypage-v4wt.c @@ -34,7 +34,7 @@ static void v4wt_copy_user_page(void *kto, const void *kfrom) ldmia %1!, {r3, r4, ip, lr} @ 4\n\ subs %2, %2, #1 @ 1\n\ stmia %0!, {r3, r4, ip, lr} @ 4\n\ - ldmneia %1!, {r3, r4, ip, lr} @ 4\n\ + ldmiane %1!, {r3, r4, ip, lr} @ 4\n\ bne 1b @ 1\n\ mcr p15, 0, %2, c7, c7, 0 @ flush ID cache" : "+&r" (kto), "+&r" (kfrom), "=&r" (tmp) -- 2.20.1