diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-27 08:23:29 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-05 11:15:54 -0700 |
commit | d46c28a06b47ff25e4a709f61530d11d9d868d5c (patch) | |
tree | 0743160378e98fc32d6b94895790b50b37b9ef8c /arch | |
parent | e76c180c01dfe6cc219b31860205d2d8873c3788 (diff) | |
download | kernel-crypto-d46c28a06b47ff25e4a709f61530d11d9d868d5c.tar.gz kernel-crypto-d46c28a06b47ff25e4a709f61530d11d9d868d5c.tar.xz kernel-crypto-d46c28a06b47ff25e4a709f61530d11d9d868d5c.zip |
ARM: VFP: Fix vfp_put_double() for d16-d31
commit 138de1c44a8e0606501cd8593407e9248e84f1b7 upstream.
vfp_put_double() takes the double value in r0,r1 not r1,r2.
Reported-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/vfp/vfphw.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/vfp/vfphw.S b/arch/arm/vfp/vfphw.S index 66dc2d03b7f..d66cead97d2 100644 --- a/arch/arm/vfp/vfphw.S +++ b/arch/arm/vfp/vfphw.S @@ -277,7 +277,7 @@ ENTRY(vfp_put_double) #ifdef CONFIG_VFPv3 @ d16 - d31 registers .irp dr,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 -1: mcrr p11, 3, r1, r2, c\dr @ fmdrr r1, r2, d\dr +1: mcrr p11, 3, r0, r1, c\dr @ fmdrr r0, r1, d\dr mov pc, lr .org 1b + 8 .endr |