Blackfin: fix typo in ptrace poking
authorJie Zhang <jie.zhang@analog.com>
Fri, 20 Nov 2009 22:52:08 +0000 (22:52 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 25 Nov 2009 07:35:43 +0000 (02:35 -0500)
commit46b60faf8c68a200bbccbe5bc6e51c414145b9af
tree9091d87d97864ffcfaef9613d94187981e6ed4b3
parenta2ca78cee1c428843f6833150c7e64db05f9d668
Blackfin: fix typo in ptrace poking

Commit c014e15a2f667f9 (Blackfin: convert ptrace to new memory functions)
introduced a copy & paste typo in the ptrace poke data/text handling.  The
access_process_vm() function call was telling it to read instead of write.

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/ptrace.c