]> git.proxmox.com Git - mirror_zfs.git/commit
Fix ARM 64-bit division
authorJorgen Lundman <lundman@lundman.net>
Tue, 15 May 2012 05:45:09 +0000 (05:45 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 22 May 2012 16:27:11 +0000 (09:27 -0700)
commit93b0dc92eab55f8729b4798b383d4670073ebddc
treedba682a2f151d4ed00a849c09d812150b18c39e4
parent38d31a1e576fd7c6393b3039ad04b8be2ee95f81
Fix ARM 64-bit division

Correctly implementating 64-bit division for ARM requires more than
just providing the __aeabi_uldivmod() and __aeabi_ldivmod() symbols.
They are need to be implemented is such a way that the quotient and
remainder and left in specific registers after the division operation
completes.  This change updates the wrapper functions to accomplish
this according to the official ARM Run-time ABI.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes zfsonlinux/zfs#706
module/spl/spl-generic.c