commit | 2e46477a12f6fd273e31a220b155d66e8352198c | [log] [tgz] |
---|---|---|
author | Denis Kirjanov <kda@linux-powerpc.org> | Mon Dec 01 12:57:02 2014 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 08 20:22:30 2014 -0500 |
tree | a106c2e098157aa845fdc5d86ff7aae7fed5e7db | |
parent | f2a01517f2a1040a0b156f171a7cefd748f2fd03 [diff] |
mips: bpf: Fix broken BPF_MOD 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>