Message ID | 20180711135656.20670-18-mark.rutland@arm.com |
---|---|
State | Accepted |
Commit | 3f7deccb037cc2bd2f848576439c033f81daeb6a |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp321938ljj; Wed, 11 Jul 2018 06:58:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfPyLsviz9IIhsMQTir4rDEfaYtCSE/WinMGD0gpWvV1iabAsqc6mfUgEls+mBRij690N9B X-Received: by 2002:a17:902:822:: with SMTP id 31-v6mr28533162plk.172.1531317488778; Wed, 11 Jul 2018 06:58:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531317488; cv=none; d=google.com; s=arc-20160816; b=YpALUq6hyXMKAcH5gL4/1DYR8iC6oKE9Ksow687N05jraK+mwu1BrCMibJ2sxj0Fi9 9YbxdlLtLxXtOhVgdgd8xLoft6t+1ta8tq9gJ6PNIOATYzVPD1ELxF9onjeKtwNYFHHl o21hZ56vj2mdfXXc9iRSixvrGJHvAZPWS3hzpD+d6RmktzG2thj93DhIgMxcSZJh1YFd kvMfnMAeYAMJ7NkB9WUjMspdAx3LjO7Xn1ciz9O8QuNdvTmf7VvNuTls1Q3Xab2Yvl7H bfKjnVyr7Z+sAYr18GcjyVvhBO8T2u3zA0KA3WWNjuDhT7A6mcYDUQq8gJS0wk0kOa6b UKlQ== 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=M20LfC1zyd2XdVhO/3fVHF+kz2qhwrW7DPcVBawHgjY=; b=a3DbqRosrgVQ9fbX+nckaoyWojzUfnrRjyFnBZkuPhaQwD5Q1/7sbUG9Z1PTvu3pZR Ou8J4BOsly9zBLJ/u59HW9b7W9yy9xoUhxeFWirHpfrkHtU283o5aWsGezgJF2DK2IJ2 Un84xOJtCjueyp5RL2FKFbY24LFBPGosUS4UMkhxTYy+Cc5pAVQt4H8pKc1SP7latsPN P1A5sQxvkZWoOp8kKCAzSJo/w7x4QBZDSNm/6vFIJO7tjBFS1J+6Q+gAhOzsSPQd8syW rBH2j9/V43GncNwq8aKL1+u8SDGzcMTC20VTaUwgXA1cwj3dnURduCg/wRgzx2BWApFv Ac+Q== 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 a1-v6si9337667pgg.326.2018.07.11.06.58.08; Wed, 11 Jul 2018 06:58:08 -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 S2388595AbeGKOCe (ORCPT <rfc822;georgi.djakov@linaro.org> + 23 others); Wed, 11 Jul 2018 10:02:34 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:36458 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388274AbeGKOCd (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 11 Jul 2018 10:02:33 -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 45DDB237B; Wed, 11 Jul 2018 06:58:05 -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 2C6463F5B1; Wed, 11 Jul 2018 06:58:03 -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 Cc: catalin.marinas@arm.com, dave.martin@arm.com, hch@infradead.org, 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 Subject: [PATCHv5 17/21] arm64: remove in-kernel call to sys_personality() Date: Wed, 11 Jul 2018 14:56:52 +0100 Message-Id: <20180711135656.20670-18-mark.rutland@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180711135656.20670-1-mark.rutland@arm.com> References: <20180711135656.20670-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 df8180175515..f4e02f6aceb8 100644 --- a/arch/arm64/kernel/sys.c +++ b/arch/arm64/kernel/sys.c @@ -44,7 +44,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); } /*