Message ID | 20180601112441.37810-16-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-v6csp805936lji; Fri, 1 Jun 2018 04:25:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJmqjSPcLqoClb23QzuXvQWG0FEdxeBcg6k/Eq9sAKa/KjlsazwHk007IG4CdqMChMytHjg X-Received: by 2002:a17:902:bb8a:: with SMTP id m10-v6mr2494074pls.236.1527852353539; Fri, 01 Jun 2018 04:25:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527852353; cv=none; d=google.com; s=arc-20160816; b=nMRpmnBjUo5hafQXbhorN2R60KMxyvY/Mm2p6roEMNBBwXjaCNOnIEB3AxYTJ03tei XCuxuixcvHDoTlJqYyVgblsX58GaTp8bUqwX4cdWRI6c3wcnYDPXjwNMCeSZ9gH7mrmv YXOp+lyl2UvZ5LVKcbsUdoAjLiH3G3sefSGOgo+dq+8PLN7PcVvHSOaji2WMeEA036A6 UWUo8Eow5IgcUle9VAEKYYI1ca5qp8mx0yTb7Y0Ujr+BnPa4so3vrMyL7bxv4jigwxe9 D9ISXSQZ0adbe8KJZ3yMEL6Y1d4/QxA9i7Q0QqufLmXcTx7gZkOc3aWmhRfvp3uwf4QP raaQ== 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=S+FbMaRihFub7Xmf0eq/6WffuivEnHmaeZSA4v767YR80fTFt9kwutFFVQKQMoc+wB c68mazFhDOXZqdLraeJE/4mase1+H68G8vLsHtjs2LPumkV73UD8NavOGouRjgSLfpcg n7d8cyajiujGSe52v2fkU6d3aSI3v5HlXnX8fkExyis2sRPXOo49X3gZJsBgT0HspwaU u+FhHX3WVnqxzTWUYP6eGj0/um/1KXAL2dfvuaMIAxi58jYbrZev4KBeKs7dGr9gyNRA YpwweLoo20KOtrOdvAikQXmzpgfvLbDNPYImLASvGxtoCbN1bLpqqltS+lPSrar/Eq9m 9nYA== 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 s3-v6si39385756plb.394.2018.06.01.04.25.53; Fri, 01 Jun 2018 04:25:53 -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 S1752096AbeFALZ1 (ORCPT <rfc822;ruslan.trofymenko@linaro.org> + 30 others); Fri, 1 Jun 2018 07:25:27 -0400 Received: from foss.arm.com ([217.140.101.70]:50366 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751989AbeFALZS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 1 Jun 2018 07:25:18 -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 1BC7416A3; Fri, 1 Jun 2018 04:25:18 -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 059EE3F25D; Fri, 1 Jun 2018 04:25:16 -0700 (PDT) From: Mark Rutland <mark.rutland@arm.com> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, will.deacon@arm.com, catalin.marinas@arm.com Cc: Mark Rutland <mark.rutland@arm.com> Subject: [PATCHv2 15/19] arm64: remove in-kernel call to sys_personality() Date: Fri, 1 Jun 2018 12:24:37 +0100 Message-Id: <20180601112441.37810-16-mark.rutland@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180601112441.37810-1-mark.rutland@arm.com> References: <20180601112441.37810-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