diff options
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/kernel/ptrace.c | 4 | ||||
-rw-r--r-- | arch/xtensa/mm/fault.c | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/arch/xtensa/kernel/ptrace.c b/arch/xtensa/kernel/ptrace.c index 06a13d9b69db..5533c7850d53 100644 --- a/arch/xtensa/kernel/ptrace.c +++ b/arch/xtensa/kernel/ptrace.c | |||
@@ -304,10 +304,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
304 | ret = put_user(sizeof(elf_fpregset_t), (unsigned long *) data); | 304 | ret = put_user(sizeof(elf_fpregset_t), (unsigned long *) data); |
305 | break; | 305 | break; |
306 | 306 | ||
307 | case PTRACE_DETACH: /* detach a process that was attached. */ | ||
308 | ret = ptrace_detach(child, data); | ||
309 | break; | ||
310 | |||
311 | default: | 307 | default: |
312 | ret = ptrace_request(child, request, addr, data); | 308 | ret = ptrace_request(child, request, addr, data); |
313 | goto out; | 309 | goto out; |
diff --git a/arch/xtensa/mm/fault.c b/arch/xtensa/mm/fault.c index 45d28f217c03..2f842859948f 100644 --- a/arch/xtensa/mm/fault.c +++ b/arch/xtensa/mm/fault.c | |||
@@ -152,7 +152,7 @@ out_of_memory: | |||
152 | } | 152 | } |
153 | printk("VM: killing process %s\n", current->comm); | 153 | printk("VM: killing process %s\n", current->comm); |
154 | if (user_mode(regs)) | 154 | if (user_mode(regs)) |
155 | do_exit(SIGKILL); | 155 | do_group_exit(SIGKILL); |
156 | bad_page_fault(regs, address, SIGKILL); | 156 | bad_page_fault(regs, address, SIGKILL); |
157 | return; | 157 | return; |
158 | 158 | ||