Skip to contentSkip to conversation

entry/64: remove unused ZERO_EXTRA_REGS macro

PATCH New Alexander Kuleshov 2 participants 3 messages Oct 20, 2016 – Oct 21, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 entry/64: remove unused ZERO_EXTRA_REGS macro

---
 arch/x86/entry/calling.h | 9 ---------
 1 file changed, 9 deletions(-)
arch/x86/entry/calling.h +0 -9
index 9a9e588..e32353a 100644
@@ -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
Signature · 1 line
2.8.0.rc3.1353.gea9bdc0
#1 lore raw

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

entry/64: Remove unused ZERO_EXTRA_REGS macro
Commit-ID:  b05d20f9a12fb7795b2bd220e7dd56e29e196ba8
Gitweb:     http://git.kernel.org/tip/b05d20f9a12fb7795b2bd220e7dd56e29e196ba8
Author:     Alexander Kuleshov <[email protected]>
AuthorDate: Thu, 20 Oct 2016 18:07:04 +0600
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Thu, 20 Oct 2016 23:41:15 +0200

entry/64: Remove unused ZERO_EXTRA_REGS macro

---
 arch/x86/entry/calling.h | 9 ---------
 1 file changed, 9 deletions(-)
arch/x86/entry/calling.h +0 -9
index b493c6a..38dcdfa 100644
@@ -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 lore raw

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

In reply to Alexander Kuleshov
entry/64: Remove unused ZERO_EXTRA_REGS macro
Commit-ID:  29a6d7964d6853f5bcd84dfb92c074fb41d00563
Gitweb:     http://git.kernel.org/tip/29a6d7964d6853f5bcd84dfb92c074fb41d00563
Author:     Alexander Kuleshov <[email protected]>
AuthorDate: Thu, 20 Oct 2016 18:07:04 +0600
Committer:  Ingo Molnar <[email protected]>
CommitDate: Fri, 21 Oct 2016 07:47:36 +0200

entry/64: Remove unused ZERO_EXTRA_REGS macro

---
 arch/x86/entry/calling.h | 9 ---------
 1 file changed, 9 deletions(-)
arch/x86/entry/calling.h +0 -9
index b493c6a..38dcdfa 100644
@@ -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