Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3231937imc; Wed, 13 Mar 2019 12:14:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhzFpoZMxKIOdZU4998KObnxG+ad9THsshuQ9UiTw/6b4Ds1u/pIMj3QiWb6elaSiO7iOt X-Received: by 2002:a63:6985:: with SMTP id e127mr41789124pgc.101.1552504472959; Wed, 13 Mar 2019 12:14:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552504472; cv=none; d=google.com; s=arc-20160816; b=rYGe8/fSlYD18SPC/QMMoeRbIqsirGGRkO5HcTOltWIonYAcZHYnfcD8K1RmyvEg25 +QAkKfDTBYmfIhqD6Js+KFme5lskdKXS/a466GCrsvKnTdg9QIyS3lMRMwHDB4q6JIvH XD/8Ow8mnEflxo6wkmMoHfTnebhM0VtVqVcQoJmHyCMiiZ8phvQDvJXXJeToeuoECGI/ AiGmv2YMgJgcWeQHeFNPQcohn+a23KzwvwMMsPgRpWfLoV37q/K0QllaNKNnQk8+M4C3 +878wXxNTMRNkA+pGX93mHWMKAtX1GPKF1k9DTGsF5oUqVs4TO+akwZMnAikZLwFy1bt cu6w== 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=xDCnNeazWFWqK0dHQDy1YTsK5ZBcumxTSjLJ9TkcFBA=; b=ugGCPpptgRcfm/SzdTNASOPvXSQIU1CLJWIxhKc2PcEJOVwFz/9Fmi4yRtd3rhGoN0 RXZ6FsS2qAhKvvgVlF5WNt9lFfi79RoBFpdxxjaXap9nTKxcPID7ljkSGiTxswTOL8/u lC7Q9XAui+nH0TkFNCavBlyhnrafSXh3guMwwETT2G91+X5/aV6seRArSRNTDPMYaqNU zxJ89COioo1EBFpdF44Lp9Z2dHvo8ggjo1sXiqW4PYrCtu1I493Mkthy1F2/mC58itKn WC5vfPh4Lii6+vgwclxgVmTRNs5gSnsU7DRQIL72xhM3cDghIljaVSd8YL793Cinksth KfpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bUfj7iPn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m34si2887443pgl.139.2019.03.13.12.14.17; Wed, 13 Mar 2019 12:14:32 -0700 (PDT) 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=@kernel.org header.s=default header.b=bUfj7iPn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727657AbfCMTMH (ORCPT + 99 others); Wed, 13 Mar 2019 15:12:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:42726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727647AbfCMTME (ORCPT ); Wed, 13 Mar 2019 15:12:04 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A6A0B213A2; Wed, 13 Mar 2019 19:12:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552504323; bh=R6RrP25jlRbI18W8S12OnQCbBlBTAkswK+zzLwILP4w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bUfj7iPnIUPxcAQtWXrCOjLOSDzGszsLzVYdzDzOs5QMVtpK3Q4SQFqWtfULIJ+si uc1sijVu/2Ob7pHXcmRxquoWoJknUxfZvGsi1ro//0stjir5LilmffGEdrpOgSEefl r44zQlw9y3AfnANwiputvXoAoguHsKYyBK6lvoRI= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Vineet Gupta , Sasha Levin , linux-snps-arc@lists.infradead.org Subject: [PATCH AUTOSEL 4.20 44/60] ARC: uacces: remove lp_start, lp_end from clobber list Date: Wed, 13 Mar 2019 15:10:05 -0400 Message-Id: <20190313191021.158171-44-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190313191021.158171-1-sashal@kernel.org> References: <20190313191021.158171-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vineet Gupta [ Upstream commit d5e3c55e01d8b1774b37b4647c30fb22f1d39077 ] Newer ARC gcc handles lp_start, lp_end in a different way and doesn't like them in the clobber list. Signed-off-by: Vineet Gupta Signed-off-by: Sasha Levin --- arch/arc/include/asm/uaccess.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arc/include/asm/uaccess.h b/arch/arc/include/asm/uaccess.h index c9173c02081c..eabc3efa6c6d 100644 --- a/arch/arc/include/asm/uaccess.h +++ b/arch/arc/include/asm/uaccess.h @@ -207,7 +207,7 @@ raw_copy_from_user(void *to, const void __user *from, unsigned long n) */ "=&r" (tmp), "+r" (to), "+r" (from) : - : "lp_count", "lp_start", "lp_end", "memory"); + : "lp_count", "memory"); return n; } @@ -433,7 +433,7 @@ raw_copy_to_user(void __user *to, const void *from, unsigned long n) */ "=&r" (tmp), "+r" (to), "+r" (from) : - : "lp_count", "lp_start", "lp_end", "memory"); + : "lp_count", "memory"); return n; } @@ -653,7 +653,7 @@ static inline unsigned long __arc_clear_user(void __user *to, unsigned long n) " .previous \n" : "+r"(d_char), "+r"(res) : "i"(0) - : "lp_count", "lp_start", "lp_end", "memory"); + : "lp_count", "memory"); return res; } @@ -686,7 +686,7 @@ __arc_strncpy_from_user(char *dst, const char __user *src, long count) " .previous \n" : "+r"(res), "+r"(dst), "+r"(src), "=r"(val) : "g"(-EFAULT), "r"(count) - : "lp_count", "lp_start", "lp_end", "memory"); + : "lp_count", "memory"); return res; } -- 2.19.1