Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755273AbcJTMHR (ORCPT ); Thu, 20 Oct 2016 08:07:17 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:36822 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754432AbcJTMHP (ORCPT ); Thu, 20 Oct 2016 08:07:15 -0400 From: Alexander Kuleshov To: Thomas Gleixner Cc: Ingo Molnar , "H . Peter Anvin" , Andy Lutomirski , Borislav Petkov , Paolo Bonzini , linux-kernel@vger.kernel.org, Alexander Kuleshov Subject: [PATCH] entry/64: remove unused ZERO_EXTRA_REGS macro Date: Thu, 20 Oct 2016 18:07:04 +0600 Message-Id: <20161020120704.24042-1-kuleshovmail@gmail.com> X-Mailer: git-send-email 2.8.0.rc3.1353.gea9bdc0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 739 Lines: 27 Signed-off-by: Alexander Kuleshov --- arch/x86/entry/calling.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/x86/entry/calling.h b/arch/x86/entry/calling.h index 9a9e588..e32353a 100644 --- a/arch/x86/entry/calling.h +++ b/arch/x86/entry/calling.h @@ -147,15 +147,6 @@ For 32-bit we have the following conventions - kernel is built with movq 5*8+\offset(%rsp), %rbx .endm - .macro ZERO_EXTRA_REGS - xorl %r15d, %r15d - xorl %r14d, %r14d - xorl %r13d, %r13d - xorl %r12d, %r12d - xorl %ebp, %ebp - xorl %ebx, %ebx - .endm - .macro RESTORE_C_REGS_HELPER rstor_rax=1, rstor_rcx=1, rstor_r11=1, rstor_r8910=1, rstor_rdx=1 .if \rstor_r11 movq 6*8(%rsp), %r11 -- 2.8.0.rc3.1353.gea9bdc0