X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fparisc%2Fkernel%2Fsyscall.S;h=1c34cf70d4330ebdcd2196f98109ba657b6b82c5;hb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;hp=9691da8b611cc6746aeb16f266233ce3b33e9b3d;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S index 9691da8b6..1c34cf70d 100644 --- a/arch/parisc/kernel/syscall.S +++ b/arch/parisc/kernel/syscall.S @@ -155,9 +155,10 @@ linux_gateway_entry: stw %r21, -56(%r30) /* 6th argument */ #endif + /* Are we being ptraced? */ mfctl %cr30, %r1 - LDREG TI_FLAGS(%r1), %r19 - bb,<,n %r19,31-TIF_SYSCALL_TRACE,.Ltracesys + LDREG TASK_PTRACE(%r1), %r1 + bb,<,n %r1,31,.Ltracesys /* Note! We cannot use the syscall table that is mapped nearby since the gateway page is mapped execute-only. */