sh: Fix PTRACE_PEEKTEXT/PEEKDATA fallout from generic_ptrace_peekdata().
authorPaul Mundt <lethal@linux-sh.org>
Sat, 4 Aug 2007 04:39:21 +0000 (13:39 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 4 Aug 2007 04:39:21 +0000 (13:39 +0900)
commit662ae2169a16004700cc18c1898aead2e5e944d5
tree5f273f59762fc88be976516e474e7a77022c6758
parentd4ac2477fad0f2680e84ec12e387ce67682c5c13
sh: Fix PTRACE_PEEKTEXT/PEEKDATA fallout from generic_ptrace_peekdata().

When generic_ptrace_peekdata() was merged, the break for these cases
ended up getting dropped, which lead to each PEEKTEXT/PEEKDATA op leaking
in to PEEKUSR and get_user_pages() always -EFAULTing. Add the break back
in.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/ptrace.c