Received: by 10.213.65.68 with SMTP id h4csp1234755imn; Wed, 14 Mar 2018 13:48:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELs84vYRLgFdMN+LDIPwiKhaHoWSZgLcF6cV9oLPq5Lm19TyGMMx5359Ba21wDlRw+S3CKaT X-Received: by 10.101.78.5 with SMTP id r5mr4815490pgt.33.1521060491248; Wed, 14 Mar 2018 13:48:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521060491; cv=none; d=google.com; s=arc-20160816; b=LP75aTP5VJvhxlbiWjWRiO3w8LAYUO57qw9uXeP8IAs1UmWPz7gUZpFIqu/hHnJwH7 XFuAQ8vOVVKkFJm3aBGX2WdFdkktx4kn9iQF3uTSMzQUIZGQ18Araxpbzq8M69+HUGBw a53BOCrPxtehM0APmXoaO7YQSkBUGKwNeaQZrMVmFeZ0FdqG+/dKCF1R1o69WWPhanni dzooYgjEQLsUTe0b3AOkvqzWYLOzF99qHnDsVoBg/1/ceS/3U8oxMvLnF46DRlpCcUBA yINInN0p/IkCEOW2jvmP1hYwoc/da+dNGbRpvuoX1O5L9AoLrSh+9h/X8wy2wSPji1Cm BhbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=btA6+SywXbs8Arf5VePLgD69LsVDExIEhjKS92ukBrU=; b=PkFY6LmwUMmCJZAuvxyBaaR98Nrb2doeXdE0cxIDMISuZA7RE6T+0KMuVfx1me3Wtp LWI/N99SnZGCfvGImES3CC8vSG5wZ1WgkwJkiMks/JVuaDowKJxj289mNg+vv9aLjjlD kDsUtzZ8sye3x0jhSVkPnMT2uGAPz6XhiyxxBNuOvanO4aC3O5rSCQ5qxtNwoVf3t0TB VOfYVk5i+1b+rIN5/+vT5sgb6PU26UoE5DKQ3x3ysU6zvYDPqLfFcTgw9T9YN7b5j1ee dExkAdqr/CvLHtrGRrll+51EnQSkghvwhV4Eg6QQhyUBcwbDheGCeI2X5WnYF9R+8G2J onjg== 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z19si2348653pgn.46.2018.03.14.13.47.56; Wed, 14 Mar 2018 13:48:11 -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 S1752280AbeCNUqw (ORCPT + 99 others); Wed, 14 Mar 2018 16:46:52 -0400 Received: from terminus.zytor.com ([198.137.202.136]:33211 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752261AbeCNUqt (ORCPT ); Wed, 14 Mar 2018 16:46:49 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTP id w2EKjvhY025965; Wed, 14 Mar 2018 13:45:57 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w2EKjuHj025962; Wed, 14 Mar 2018 13:45:56 -0700 Date: Wed, 14 Mar 2018 13:45:56 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: "tip-bot for Tautschnig, Michael" Message-ID: Cc: tautschn@amazon.com, linux-kernel@vger.kernel.org, jaswinder@infradead.org, ak@linux.intel.com, tglx@linutronix.de, mingo@kernel.org, linux@dominikbrodowski.net, tautschn@amazon.co.uk, hpa@zytor.com Reply-To: tautschn@amazon.com, linux-kernel@vger.kernel.org, jaswinder@infradead.org, ak@linux.intel.com, tglx@linutronix.de, mingo@kernel.org, linux@dominikbrodowski.net, tautschn@amazon.co.uk, hpa@zytor.com In-Reply-To: <9C9981F4-0E5E-42A7-8788-70F3DEAD258D@amazon.com> References: <9C9981F4-0E5E-42A7-8788-70F3DEAD258D@amazon.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86/sigreturn: Use SYSCALL_DEFINE0 Git-Commit-ID: 1227b344de283f96c41de02cde4b26d5290f5302 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 1227b344de283f96c41de02cde4b26d5290f5302 Gitweb: https://git.kernel.org/tip/1227b344de283f96c41de02cde4b26d5290f5302 Author: Tautschnig, Michael AuthorDate: Wed, 14 Mar 2018 09:41:42 +0000 Committer: Thomas Gleixner CommitDate: Wed, 14 Mar 2018 21:43:09 +0100 x86/sigreturn: Use SYSCALL_DEFINE0 All definitions of syscalls in x86 except for those patched here have already been using the appropriate SYSCALL_DEFINE*. Signed-off-by: Michael Tautschnig Signed-off-by: Thomas Gleixner Cc: Andi Kleen Cc: linux-api@vger.kernel.org Cc: Dominik Brodowski Cc: Jaswinder Singh Cc: "linux-api@vger.kernel.org" Cc: "x86@kernel.org" Link: https://lkml.kernel.org/r/9C9981F4-0E5E-42A7-8788-70F3DEAD258D@amazon.com --- arch/x86/kernel/signal.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c index 4cdc0b27ec82..da270b95fe4d 100644 --- a/arch/x86/kernel/signal.c +++ b/arch/x86/kernel/signal.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -601,7 +602,7 @@ static int x32_setup_rt_frame(struct ksignal *ksig, * Do a signal return; undo the signal stack. */ #ifdef CONFIG_X86_32 -asmlinkage unsigned long sys_sigreturn(void) +SYSCALL_DEFINE0(sigreturn) { struct pt_regs *regs = current_pt_regs(); struct sigframe __user *frame; @@ -633,7 +634,7 @@ badframe: } #endif /* CONFIG_X86_32 */ -asmlinkage long sys_rt_sigreturn(void) +SYSCALL_DEFINE0(rt_sigreturn) { struct pt_regs *regs = current_pt_regs(); struct rt_sigframe __user *frame;