From: Alexander Kuleshov Date: Thu, 20 Oct 2016 12:07:04 +0000 (+0600) Subject: entry/64: Remove unused ZERO_EXTRA_REGS macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=29a6d7964d6853f5bcd84dfb92c074fb41d00563;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git entry/64: Remove unused ZERO_EXTRA_REGS macro Signed-off-by: Alexander Kuleshov Cc: Paolo Bonzini Cc: Borislav Petkov Cc: Andy Lutomirski Link: http://lkml.kernel.org/r/20161020120704.24042-1-kuleshovmail@gmail.com Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/entry/calling.h b/arch/x86/entry/calling.h index b493c6a42a44..38dcdfa2be55 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