Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9915094imu; Sun, 30 Dec 2018 08:11:36 -0800 (PST) X-Google-Smtp-Source: AFSGD/UdS3sG6dTO33tjnncZmCJy43PQYH0Ifh9EZuY0Tz7dlruxfRHhzXgNY1E2vF7852Aq7JZn X-Received: by 2002:a62:75d1:: with SMTP id q200mr35109715pfc.254.1546186296443; Sun, 30 Dec 2018 08:11:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546186296; cv=none; d=google.com; s=arc-20160816; b=O06jC+LjurKq8ZYEULZPmzfvQCNv/0ZTIG0aehuAMgoQoynvWVU/bOjhhvnus0XXIj NEPryfhI7ZFL2BChVQrhMIPLuQQh2fpFlqmM19zspoK/tjY/Nj608c4kQg1Mc4mePB+f kcLg+QrfLV+I9n0lVePi8+cfm9ZY+GpQC8zsyio27y8L3VCJ0XyMGm4UFTse2bc/s+w0 pfzYxjuzgnql6DmnnfcMo3oPt1/mfvXbNKqGg904DWwe6XCWlP/EBnY0IyVF4S0E9hlU PBQbfHL98Ox0PJKRANdZkZnzFxeVXdBw5sgKU5v9BpADayKlZe4GgtAMdZIetV5s0abb iFDg== 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=2lFZEWQ/BkHVUPBAekAuBjt81tguL3l3ri+d5xei2tk=; b=vQhALNTIInB4SZG2G/wtzdINijprIJypoDLDOpY9hVJ2DXOLk09zxVkAQf3WALzP54 5hdd5A7GzvIIZ+WD2TT5vAWfrmxBuellCpB87YPASbSRXakBXWHK4YcG/EyseoV+jBAT /Mn5gyKJKG1h0WBVjSuDHuZQ00YMLUUYju/Q13CZO2e3fF5EGrRHvDHVZLp2o61rxech UBmhqc5hkwgy6Mu6p/+QY0pJ0aESozQaX2BAZll4gbSGXWE+E3ec5tNkmDIKnGQEl+Zv cNHIiqiagFYzB2EuVm7hZ3VgjiHpAouKVsj/bNryNdxJ46bjJ3qJccWz3Ex+XTNPTbDs 1qvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=N+lXXpuu; 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 l185si25978538pgd.253.2018.12.30.08.11.20; Sun, 30 Dec 2018 08:11:36 -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=N+lXXpuu; 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 S1726361AbeL3QIS (ORCPT + 99 others); Sun, 30 Dec 2018 11:08:18 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:38426 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726293AbeL3QIS (ORCPT ); Sun, 30 Dec 2018 11:08:18 -0500 Received: from zyt.lan (unknown [IPv6:2a02:169:3465::564]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 6A7425C158B; 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=2lFZEWQ/BkHVUPBAekAuBjt81tguL3l3ri+d5xei2tk=; b=N+lXXpuuUbTpOy2KKlzkfkejnQZFRFuv/tGiq+HtXvO8rjiVD/oi9c/xXrXeSz1UOV+gPn z2DDd+6aobhwz5VFM9dcaBGs9LPhNHMG1HfT+Z55NkNldlMBga8mI+7XJVbY3o+ug7zXFl vjeKAzvosjXqQdPbWD/TUwBM1JovaVA= 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, peterz@infradead.org, mingo@redhat.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 2/3] ARM: uaccess: use unified assembler language syntax Date: Sun, 30 Dec 2018 17:08:18 +0100 Message-Id: <8190fb3605e863295bdb6311b1966b69d4fa9e73.1546185298.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 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/uaccess.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/uaccess.h b/arch/arm/include/asm/uaccess.h index 6390a40f16e7..9327bb5e1e58 100644 --- a/arch/arm/include/asm/uaccess.h +++ b/arch/arm/include/asm/uaccess.h @@ -86,7 +86,7 @@ static inline void set_fs(mm_segment_t fs) #define __range_ok(addr, size) ({ \ unsigned long flag, roksum; \ __chk_user_ptr(addr); \ - __asm__("adds %1, %2, %3; sbcccs %1, %1, %0; movcc %0, #0" \ + __asm__("adds %1, %2, %3; sbcscc %1, %1, %0; movcc %0, #0" \ : "=&r" (flag), "=&r" (roksum) \ : "r" (addr), "Ir" (size), "0" (current_thread_info()->addr_limit) \ : "cc"); \ -- 2.20.1