Commit f146e441 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] parisc: fix ptrace

Make ptrace work again

someone (not naming names) forgot that %cr30 is the *thread* register
not the task register.
Committed-by: default avatarJames Bottomley <jejb@parisc-linux.org>
parent 883ba69a
......@@ -185,6 +185,7 @@ linux_gateway_entry:
/* Are we being ptraced? */
mfctl %cr30, %r1
LDREG TI_TASK(%r1),%r1
LDREG TASK_PTRACE(%r1), %r1
bb,<,n %r1,31,.Ltracesys
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment