Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757479AbcJTJFG (ORCPT ); Thu, 20 Oct 2016 05:05:06 -0400 Received: from terminus.zytor.com ([198.137.202.10]:37300 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755788AbcJTJFC (ORCPT ); Thu, 20 Oct 2016 05:05:02 -0400 Date: Thu, 20 Oct 2016 02:04:30 -0700 From: tip-bot for Alexander Kuleshov Message-ID: Cc: pbonzini@redhat.com, kuleshovmail@gmail.com, hpa@zytor.com, bp@alien8.de, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@kernel.org, luto@kernel.org Reply-To: kuleshovmail@gmail.com, pbonzini@redhat.com, hpa@zytor.com, bp@alien8.de, linux-kernel@vger.kernel.org, mingo@kernel.org, tglx@linutronix.de, luto@kernel.org In-Reply-To: <20161019191108.2230-1-kuleshovmail@gmail.com> References: <20161019191108.2230-1-kuleshovmail@gmail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86/entry: Remove addskip parameter from ALLOC_PT_GPREGS_ON_STACK Git-Commit-ID: ac679bf247cf044a5be6ca7d380307540284dd45 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1390 Lines: 38 Commit-ID: ac679bf247cf044a5be6ca7d380307540284dd45 Gitweb: http://git.kernel.org/tip/ac679bf247cf044a5be6ca7d380307540284dd45 Author: Alexander Kuleshov AuthorDate: Thu, 20 Oct 2016 01:11:08 +0600 Committer: Thomas Gleixner CommitDate: Thu, 20 Oct 2016 10:57:37 +0200 x86/entry: Remove addskip parameter from ALLOC_PT_GPREGS_ON_STACK The ALLOC_PT_GPREGS_ON_STACK macro has an optional addskip parameter, which is not used by any usage site. Remove it. Signed-off-by: Alexander Kuleshov Reviewed-by: Borislav Petkov Cc: Paolo Bonzini Cc: Andy Lutomirski Link: http://lkml.kernel.org/r/20161019191108.2230-1-kuleshovmail@gmail.com Signed-off-by: Thomas Gleixner --- arch/x86/entry/calling.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/entry/calling.h b/arch/x86/entry/calling.h index 9a9e588..b493c6a 100644 --- a/arch/x86/entry/calling.h +++ b/arch/x86/entry/calling.h @@ -90,8 +90,8 @@ For 32-bit we have the following conventions - kernel is built with #define SIZEOF_PTREGS 21*8 - .macro ALLOC_PT_GPREGS_ON_STACK addskip=0 - addq $-(15*8+\addskip), %rsp + .macro ALLOC_PT_GPREGS_ON_STACK + addq $-(15*8), %rsp .endm .macro SAVE_C_REGS_HELPER offset=0 rax=1 rcx=1 r8910=1 r11=1