linux/arch/mips/net
Denis Kirjanov 56888252f7 mips: bpf: Fix broken BPF_MOD
commit 2e46477a12 upstream.

Remove optimize_div() from BPF_MOD | BPF_K case
since we don't know the dividend and fix the
emit_mod() by reading the mod operation result from HI register

Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org>
Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2014-12-15 11:10:47 +00:00
..
bpf_jit.c mips: bpf: Fix broken BPF_MOD 2014-12-15 11:10:47 +00:00
bpf_jit.h MIPS: net: Add BPF JIT 2014-05-30 16:10:20 +02:00
Makefile MIPS: net: Add BPF JIT 2014-05-30 16:10:20 +02:00