summaryrefslogtreecommitdiff
path: root/arch/avr32/mach-at32ap
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-01-30 19:23:29 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-02 17:37:42 (GMT)
commit8130b9d7b9d858aa04ce67805e8951e3cb6e9b2f (patch)
tree0b66f2eb287b5412ef7c3d8034a64d9182fb7999 /arch/avr32/mach-at32ap
parent247f4993a5974e6759606c4d380748eecfd273ff (diff)
downloadlinux-fsl-qoriq-8130b9d7b9d858aa04ce67805e8951e3cb6e9b2f.tar.xz
ARM: 7308/1: vfp: flush thread hwstate before copying ptrace registers
If we are context switched whilst copying into a thread's vfp_hard_struct then the partial copy may be corrupted by the VFP context switching code (see "ARM: vfp: flush thread hwstate before restoring context from sigframe"). This patch updates the ptrace VFP set code so that the thread state is flushed before the copy, therefore disabling VFP and preventing corruption from occurring. Cc: stable <stable@vger.kernel.org> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/avr32/mach-at32ap')
0 files changed, 0 insertions, 0 deletions