PPC: bpf_jit_comp: Unify BPF_MOD | BPF_X and BPF_DIV | BPF_X
authorDenis Kirjanov <kda@linux-powerpc.org>
Mon, 17 Nov 2014 20:07:41 +0000 (23:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Nov 2014 18:20:09 +0000 (13:20 -0500)
commitcadaecd2188b99d93de676150007f0e097223232
treec6b9cce5cdd22a4df086d65f2c392f3722d01f96
parent65622ed40eef5ce2732365077b22416593fec4c8
PPC: bpf_jit_comp: Unify BPF_MOD | BPF_X and BPF_DIV | BPF_X

Reduce duplicated code by unifying
BPF_ALU | BPF_MOD | BPF_X and BPF_ALU | BPF_DIV | BPF_X

CC: Alexei Starovoitov<alexei.starovoitov@gmail.com>
CC: Daniel Borkmann<dborkman@redhat.com>
CC: Philippe Bergheaud<felix@linux.vnet.ibm.com>
Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/powerpc/net/bpf_jit_comp.c