Message ID | 20180514094640.27569-15-mark.rutland@arm.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1533781lji; Mon, 14 May 2018 02:49:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoO8q4QE2kxXzn2npzanSTr4jk0HOQXhDo/mpwRPEZA76bgFiqqK7DgVsKCgQEXM/+N7m9Q X-Received: by 2002:a63:774f:: with SMTP id s76-v6mr7668252pgc.403.1526291388925; Mon, 14 May 2018 02:49:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526291388; cv=none; d=google.com; s=arc-20160816; b=wKJGL9/Kg7P2l/zqaHH2bhVm8rJwbqFtk6UFtjB7SS3uSCa31E3JarUKbmHXQNTBzB M0K4xGza+rK49E+IQ+6Cg60U2meqQFqvB3VOykxloZHUtxq5LDEf3b3pJxAHXGBSmaNK v2WGVKia0fbRn7ICy/EJO5UJcMc4XI68PwdXue8n0xcSynlgqb4q28UqiPC7sMMzkqoU SAqqTswt/qXsrEh9f3YiUsOuQE/fTZ8JMT5FxuxYQ3db8uk3JRX4yjVh46K6C8RpJbKw cUn4GCivhTUy4cTk1hHAgw4gcB6SDhVGsf9K4Ya3z4l5jtCuF+wAXUx3gmRo3lClOPjl EjUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=iemocDnVJQ7xzC5SIlxQ40unDLGqIdXL/TCmoRVQiao=; b=GM7q+9MKjtfeRlP7pgyGkLo44/9DDA5VHZQYCf4HH2Yrm5D5GG4Q30q9cTOZ73Z8z2 RQK9xt5ufcOavwW63El8DzwCad0Am89vwoln98QudJhV3DE7sL9hD54s7iyFFCuPnL+P 646CCSVYgbP/nxNU3dH5vSVwAhqz2qqmYoie1A+SefYkMpgqNHrpcnie6NyzUMahx2Sf 83/hcku22m9b5TYRbv57jKbtM8n1w8SCJIRXrwNx71bibnbI/KAFyw2aQQrvaCskZNwX vTgJ0k5w/KcNCFuvWloQSyF8tSKpttyoQG0j2t1c3UgndtBo9txt+iwIHms6lMaTUNN8 xwsw== ARC-Authentication-Results: i=1; mx.google.com; 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w68-v6si9412345pfb.325.2018.05.14.02.49.48; Mon, 14 May 2018 02:49:48 -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; 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 S1752767AbeENJtq (ORCPT <rfc822;ramon.fried@linaro.org> + 29 others); Mon, 14 May 2018 05:49:46 -0400 Received: from foss.arm.com ([217.140.101.70]:38342 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752633AbeENJr6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 14 May 2018 05:47:58 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7A9A019BF; Mon, 14 May 2018 02:47:58 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 84B1E3F25D; Mon, 14 May 2018 02:47:56 -0700 (PDT) From: Mark Rutland <mark.rutland@arm.com> To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, catalin.marinas@arm.com, dave.martin@arm.com, james.morse@arm.com, linux@dominikbrodowski.net, linux-fsdevel@vger.kernel.org, marc.zyngier@arm.com, mark.rutland@arm.com, viro@zeniv.linux.org.uk, will.deacon@arm.com Subject: [PATCH 14/18] arm64: remove in-kernel call to sys_personality() Date: Mon, 14 May 2018 10:46:36 +0100 Message-Id: <20180514094640.27569-15-mark.rutland@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180514094640.27569-1-mark.rutland@arm.com> References: <20180514094640.27569-1-mark.rutland@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
arm64: invoke syscalls with pt_regs
|
expand
|
diff --git a/arch/arm64/kernel/sys.c b/arch/arm64/kernel/sys.c index 31045f3fed92..a82c3f7a9a90 100644 --- a/arch/arm64/kernel/sys.c +++ b/arch/arm64/kernel/sys.c @@ -42,7 +42,7 @@ SYSCALL_DEFINE1(arm64_personality, unsigned int, personality) if (personality(personality) == PER_LINUX32 && !system_supports_32bit_el0()) return -EINVAL; - return sys_personality(personality); + return ksys_personality(personality); } /*
With pt_regs syscall wrappers, the calling convention for sys_personality() will change. Use ksys_personality(), which is functionally equivalent. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> --- arch/arm64/kernel/sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0