Skip to content

Commit e603330

Browse files
committed
Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm
Pull ARM fix from Russell King: "Just one fix to the ptrace code, spotted by Simon Marchi, where if a thread migrates to a different CPU and the VFP registers are changed through ptrace, the application doesn't see the updated VFP registers" * 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm: ARM: fix PTRACE_SETVFPREGS on SMP systems
2 parents d29e472 + e2dfb4b commit e603330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/kernel/ptrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,8 +733,8 @@ static int vfp_set(struct task_struct *target,
733733
if (ret)
734734
return ret;
735735

736-
vfp_flush_hwstate(thread);
737736
thread->vfpstate.hard = new_vfp;
737+
vfp_flush_hwstate(thread);
738738

739739
return 0;
740740
}

0 commit comments

Comments
 (0)