m32r: fix breakage from "m32r: use generic ptrace_resume code"

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Al Viro and committed by Linus Torvalds acdc0d5e bb9c861e

+4 -3
+4 -3
arch/m32r/kernel/ptrace.c
··· 592 592 593 593 if (access_process_vm(child, pc&~3, &insn, sizeof(insn), 0) 594 594 != sizeof(insn)) 595 - break; 595 + return -EIO; 596 596 597 597 compute_next_pc(insn, pc, &next_pc, child); 598 598 if (next_pc & 0x80000000) 599 - break; 599 + return -EIO; 600 600 601 601 if (embed_debug_trap(child, next_pc)) 602 - break; 602 + return -EIO; 603 603 604 604 invalidate_cache(); 605 + return 0; 605 606 } 606 607 607 608 void user_disable_single_step(struct task_struct *child)