ARM: vfp ptrace: no point flushing hw context for PTRACE_GETVFPREGS
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 6 Feb 2010 11:36:23 +0000 (11:36 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 15 Feb 2010 21:39:53 +0000 (21:39 +0000)
commitad187f956108e1c56b444706212bf08d84c0bee0
tree5aa54adb07016a87be9629aea20a6fd363d449c2
parent54cb3dbb4a1cccd6b1bffc169ff638f8e74daf44
ARM: vfp ptrace: no point flushing hw context for PTRACE_GETVFPREGS

If we're only reading the VFP context via the ptrace call, there's
no need to invalidate the hardware context - we only need to do that
on PTRACE_SETVFPREGS.  This allows more efficient monitoring of a
traced task.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/thread_info.h
arch/arm/kernel/ptrace.c
arch/arm/vfp/vfpmodule.c