diff options
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/ptrace.c | 4 | ||||
-rw-r--r-- | arch/parisc/mm/fault.c | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/arch/parisc/kernel/ptrace.c b/arch/parisc/kernel/ptrace.c index 26ec774c5027..49c637970789 100644 --- a/arch/parisc/kernel/ptrace.c +++ b/arch/parisc/kernel/ptrace.c | |||
@@ -329,10 +329,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
329 | /* give it a chance to run. */ | 329 | /* give it a chance to run. */ |
330 | goto out_wake; | 330 | goto out_wake; |
331 | 331 | ||
332 | case PTRACE_DETACH: | ||
333 | ret = ptrace_detach(child, data); | ||
334 | goto out_tsk; | ||
335 | |||
336 | case PTRACE_GETEVENTMSG: | 332 | case PTRACE_GETEVENTMSG: |
337 | ret = put_user(child->ptrace_message, (unsigned int __user *) data); | 333 | ret = put_user(child->ptrace_message, (unsigned int __user *) data); |
338 | goto out_tsk; | 334 | goto out_tsk; |
diff --git a/arch/parisc/mm/fault.c b/arch/parisc/mm/fault.c index 7899ab87785a..1c091b415cd9 100644 --- a/arch/parisc/mm/fault.c +++ b/arch/parisc/mm/fault.c | |||
@@ -263,6 +263,6 @@ no_context: | |||
263 | up_read(&mm->mmap_sem); | 263 | up_read(&mm->mmap_sem); |
264 | printk(KERN_CRIT "VM: killing process %s\n", current->comm); | 264 | printk(KERN_CRIT "VM: killing process %s\n", current->comm); |
265 | if (user_mode(regs)) | 265 | if (user_mode(regs)) |
266 | do_exit(SIGKILL); | 266 | do_group_exit(SIGKILL); |
267 | goto no_context; | 267 | goto no_context; |
268 | } | 268 | } |