Re: [PATCH] x86: kill ptregscall_common

From: Andy Lutomirski
Date: Fri Jul 04 2014 - 15:49:14 EST


On Fri, Jul 4, 2014 at 11:04 AM, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
> It has no users since commit b3af11afe06a "x86: get rid of pt_regs
> argument of iopl(2)".

Looks good to me.

--Andy

>
> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
> ---
> arch/x86/kernel/entry_64.S | 13 -------------
> 1 files changed, 0 insertions(+), 13 deletions(-)
>
> diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
> index b25ca96..fa64128 100644
> --- a/arch/x86/kernel/entry_64.S
> +++ b/arch/x86/kernel/entry_64.S
> @@ -640,19 +640,6 @@ END(\label)
> FORK_LIKE vfork
> FIXED_FRAME stub_iopl, sys_iopl
>
> -ENTRY(ptregscall_common)
> - DEFAULT_FRAME 1 8 /* offset 8: return address */
> - RESTORE_TOP_OF_STACK %r11, 8
> - movq_cfi_restore R15+8, r15
> - movq_cfi_restore R14+8, r14
> - movq_cfi_restore R13+8, r13
> - movq_cfi_restore R12+8, r12
> - movq_cfi_restore RBP+8, rbp
> - movq_cfi_restore RBX+8, rbx
> - ret $REST_SKIP /* pop extended registers */
> - CFI_ENDPROC
> -END(ptregscall_common)
> -
> ENTRY(stub_execve)
> CFI_STARTPROC
> addq $8, %rsp
> --
> 1.5.5.1
>
>



--
Andy Lutomirski
AMA Capital Management, LLC
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/