diff options
Diffstat (limited to 'arch/parisc/kernel/syscall.S')
-rw-r--r-- | arch/parisc/kernel/syscall.S | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S index 86742df0b194..5e055240f00b 100644 --- a/arch/parisc/kernel/syscall.S +++ b/arch/parisc/kernel/syscall.S | |||
@@ -309,10 +309,13 @@ tracesys_next: | |||
309 | LDREG TASK_PT_GR25(%r1), %r25 | 309 | LDREG TASK_PT_GR25(%r1), %r25 |
310 | LDREG TASK_PT_GR24(%r1), %r24 | 310 | LDREG TASK_PT_GR24(%r1), %r24 |
311 | LDREG TASK_PT_GR23(%r1), %r23 | 311 | LDREG TASK_PT_GR23(%r1), %r23 |
312 | #ifdef CONFIG_64BIT | ||
313 | LDREG TASK_PT_GR22(%r1), %r22 | 312 | LDREG TASK_PT_GR22(%r1), %r22 |
314 | LDREG TASK_PT_GR21(%r1), %r21 | 313 | LDREG TASK_PT_GR21(%r1), %r21 |
314 | #ifdef CONFIG_64BIT | ||
315 | ldo -16(%r30),%r29 /* Reference param save area */ | 315 | ldo -16(%r30),%r29 /* Reference param save area */ |
316 | #else | ||
317 | stw %r22, -52(%r30) /* 5th argument */ | ||
318 | stw %r21, -56(%r30) /* 6th argument */ | ||
316 | #endif | 319 | #endif |
317 | 320 | ||
318 | comiclr,>>= __NR_Linux_syscalls, %r20, %r0 | 321 | comiclr,>>= __NR_Linux_syscalls, %r20, %r0 |