All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: kill ptregscall_common
       [not found]             ` <20140704161316.GA6241@redhat.com>
@ 2014-07-04 18:04               ` Oleg Nesterov
  2014-07-04 19:48                 ` Andy Lutomirski
  0 siblings, 1 reply; 2+ messages in thread
From: Oleg Nesterov @ 2014-07-04 18:04 UTC (permalink / raw)
  To: H. Peter Anvin, Andi Kleen
  Cc: Andy Lutomirski, Tejun Heo, Linus Torvalds, linux-kernel

It has no users since commit b3af11afe06a "x86: get rid of pt_regs
argument of iopl(2)".

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86: kill ptregscall_common
  2014-07-04 18:04               ` [PATCH] x86: kill ptregscall_common Oleg Nesterov
@ 2014-07-04 19:48                 ` Andy Lutomirski
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Lutomirski @ 2014-07-04 19:48 UTC (permalink / raw)
  To: Oleg Nesterov
  Cc: H. Peter Anvin, Andi Kleen, Tejun Heo, Linus Torvalds, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-04 19:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <100531b7498c9148eaf7163ead7adef263d9981c.1404340903.git.luto@amacapital.net>
     [not found] ` <CALCETrVkg7_GzR0QqyW-hNS8iJGr3i_R6AbrjwjwwUboWCiNOw@mail.gmail.com>
     [not found]   ` <CALCETrVRJZeLam5jbNrgptETbXbsnPXMBgLwcO_uAMK6CSF65g@mail.gmail.com>
     [not found]     ` <CA+55aFzMSswoVaHhM41rATubj+rqBsa4jyQaBVPNHO_-BpyHJg@mail.gmail.com>
     [not found]       ` <CALCETrUDCDfm8+xEFiPDwJbSu25yo2xNKYYfCiU9RO5C_X=bDg@mail.gmail.com>
     [not found]         ` <CA+55aFwehdBTK=dXFQkXK2ZB6GYXxEcnY7Eg8jwSV5E6yaJNTQ@mail.gmail.com>
     [not found]           ` <20140703184215.GA21542@redhat.com>
     [not found]             ` <20140704161316.GA6241@redhat.com>
2014-07-04 18:04               ` [PATCH] x86: kill ptregscall_common Oleg Nesterov
2014-07-04 19:48                 ` Andy Lutomirski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.