Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1505276

[tip:x86/urgent] entry/64: Remove unused ZERO_EXTRA_REGS macro

From tip-bot for Alexander Kuleshov <tipbot@zytor.com>
Newsgroups linux.kernel
Subject [tip:x86/urgent] entry/64: Remove unused ZERO_EXTRA_REGS macro
Date 2016-10-20 23:50 +0200
Message-ID <sutnP-4EY-23@gated-at.bofh.it> (permalink)
References <sukky-7mR-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Commit-ID:  b05d20f9a12fb7795b2bd220e7dd56e29e196ba8
Gitweb:     http://git.kernel.org/tip/b05d20f9a12fb7795b2bd220e7dd56e29e196ba8
Author:     Alexander Kuleshov <kuleshovmail@gmail.com>
AuthorDate: Thu, 20 Oct 2016 18:07:04 +0600
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Thu, 20 Oct 2016 23:41:15 +0200

entry/64: Remove unused ZERO_EXTRA_REGS macro

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@kernel.org>
Link: http://lkml.kernel.org/r/20161020120704.24042-1-kuleshovmail@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
 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 b493c6a..38dcdfa 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] entry/64: remove unused ZERO_EXTRA_REGS macro Alexander Kuleshov <kuleshovmail@gmail.com> - 2016-10-20 14:10 +0200
  [tip:x86/urgent] entry/64: Remove unused ZERO_EXTRA_REGS macro tip-bot for Alexander Kuleshov <tipbot@zytor.com> - 2016-10-20 23:50 +0200
  [tip:x86/asm] entry/64: Remove unused ZERO_EXTRA_REGS macro tip-bot for Alexander Kuleshov <tipbot@zytor.com> - 2016-10-21 08:00 +0200

csiph-web