aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2015-04-27 11:12:25 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-04-30 13:50:34 +0200
commit771aada9ace7e5dd837a69ef0bca08b5455b2d36 (patch)
tree761f957eb0d7284e4e3e5b549f8ae4d2c57afc0a /crypto
parent3d99e3fe13d473ac4578c37f477a59b829530764 (diff)
s390/bpf: Adjust ALU64_DIV/MOD to match interpreter change
The s390x ALU64_DIV/MOD has been implemented according to the eBPF interpreter specification that used do_div(). This function does a 64-bit by 32-bit divide. It turned out that this was wrong and now the interpreter uses div64_u64_rem() for full 64-bit division. So fix this and use full 64-bit division in the s390x eBPF backend code. Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions