OSDN Git Service

entry/64: Remove unused ZERO_EXTRA_REGS macro
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Thu, 20 Oct 2016 12:07:04 +0000 (18:07 +0600)
committerIngo Molnar <mingo@kernel.org>
Fri, 21 Oct 2016 05:47:36 +0000 (07:47 +0200)
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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/calling.h

index b493c6a..38dcdfa 100644 (file)
@@ -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