x86 bpf_jit: support MOD operation
authorEric Dumazet <edumazet@google.com>
Mon, 10 Sep 2012 20:48:33 +0000 (22:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Sep 2012 21:08:48 +0000 (17:08 -0400)
commit280050cc81ccb2e06e4061228ee34c0cc86b1560
tree37c47086c4b1eb4b0ab6a471243274f61d7bcb8f
parent26964bb72afd0310c17750c002eebbf022db3b19
x86 bpf_jit: support MOD operation

commit b6069a9570 (filter: add MOD operation) added generic
support for modulus operation in BPF.

This patch brings JIT support for x86_64

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: George Bakos <gbakos@alpinista.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/x86/net/bpf_jit_comp.c