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

Signed-off-by: Alexander Kuleshov <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
---
 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

Reply via email to