diff options
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | 2015-04-27 11:12:25 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-04-30 13:50:34 +0200 |
commit | 771aada9ace7e5dd837a69ef0bca08b5455b2d36 (patch) | |
tree | 761f957eb0d7284e4e3e5b549f8ae4d2c57afc0a /drivers/s390/net | |
parent | 3d99e3fe13d473ac4578c37f477a59b829530764 (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 'drivers/s390/net')
0 files changed, 0 insertions, 0 deletions