lkml.org 
[lkml]   [2014]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] x86: kill ptregscall_common
On Fri, Jul 4, 2014 at 11:04 AM, Oleg Nesterov <oleg@redhat.com> 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@redhat.com>
> ---
> 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


\
 
 \ /
  Last update: 2014-07-04 22:21    [W:0.044 / U:16.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site