* [PATCH] parisc: Pass the 5th and 6th argument for on the stack for 32bit ptraced processes too
@ 2013-02-02 23:46 Helge Deller
2013-02-03 0:07 ` Helge Deller
0 siblings, 1 reply; 2+ messages in thread
From: Helge Deller @ 2013-02-02 23:46 UTC (permalink / raw)
To: linux-parisc, James Bottomley, John David Anglin
Author: John David Anglin <dave.anglin@bell.net>
Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S
index 86742df..c893ec4 100644
--- a/arch/parisc/kernel/syscall.S
+++ b/arch/parisc/kernel/syscall.S
@@ -309,10 +309,13 @@ tracesys_next:
LDREG TASK_PT_GR25(%r1), %r25
LDREG TASK_PT_GR24(%r1), %r24
LDREG TASK_PT_GR23(%r1), %r23
-#ifdef CONFIG_64BIT
LDREG TASK_PT_GR22(%r1), %r22
LDREG TASK_PT_GR21(%r1), %r21
+#ifdef CONFIG_64BIT
ldo -16(%r30),%r29 /* Reference param save area */
+#else
+ stw %r22, -52(%r30) /* 5th argument */
+ stw %r21, -56(%r30) /* 6th argument */
#endif
comiclr,>>= __NR_Linux_syscalls, %r20, %r0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] parisc: Pass the 5th and 6th argument for on the stack for 32bit ptraced processes too
2013-02-02 23:46 [PATCH] parisc: Pass the 5th and 6th argument for on the stack for 32bit ptraced processes too Helge Deller
@ 2013-02-03 0:07 ` Helge Deller
0 siblings, 0 replies; 2+ messages in thread
From: Helge Deller @ 2013-02-03 0:07 UTC (permalink / raw)
To: linux-parisc, James Bottomley, John David Anglin
This patch was originally submitted by Al Viro:
https://patchwork.kernel.org/patch/1853531/
On 02/03/2013 12:46 AM, Helge Deller wrote:
> Author: John David Anglin <dave.anglin@bell.net>
>
> Signed-off-by: John David Anglin <dave.anglin@bell.net>
> Signed-off-by: Helge Deller <deller@gmx.de>
>
> diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S
> index 86742df..c893ec4 100644
> --- a/arch/parisc/kernel/syscall.S
> +++ b/arch/parisc/kernel/syscall.S
> @@ -309,10 +309,13 @@ tracesys_next:
> LDREG TASK_PT_GR25(%r1), %r25
> LDREG TASK_PT_GR24(%r1), %r24
> LDREG TASK_PT_GR23(%r1), %r23
> -#ifdef CONFIG_64BIT
> LDREG TASK_PT_GR22(%r1), %r22
> LDREG TASK_PT_GR21(%r1), %r21
> +#ifdef CONFIG_64BIT
> ldo -16(%r30),%r29 /* Reference param save area */
> +#else
> + stw %r22, -52(%r30) /* 5th argument */
> + stw %r21, -56(%r30) /* 6th argument */
> #endif
>
> comiclr,>>= __NR_Linux_syscalls, %r20, %r0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-03 0:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-02 23:46 [PATCH] parisc: Pass the 5th and 6th argument for on the stack for 32bit ptraced processes too Helge Deller
2013-02-03 0:07 ` Helge Deller
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.