Blackfin arch: fix bug - gdb signull case make trunk kernel panic frequently
authorJie Zhang <jie.zhang@analog.com>
Thu, 5 Mar 2009 10:50:26 +0000 (18:50 +0800)
committerBryan Wu <cooloney@kernel.org>
Thu, 5 Mar 2009 10:50:26 +0000 (18:50 +0800)
commit7786ce823b1c9a3de01a63857e3451890cb4e81c
tree77941d01dee1a317c9c67f15e41e27a62f9191db
parent27276ba21fe590edc43305f483565aa02010bbbb
Blackfin arch: fix bug - gdb signull case make trunk kernel panic frequently

Use copy_to_user_page and copy_from_user_page instead of
memcpy. copy_to_user_page does cache flush when necessary.

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/ptrace.c