]> git.karo-electronics.de Git - linux-beck.git/commit
net: filter: x86: split bpf_jit_compile()
authorAlexei Starovoitov <ast@plumgrid.com>
Wed, 14 May 2014 02:50:45 +0000 (19:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 May 2014 20:31:30 +0000 (16:31 -0400)
commitf3c2af7ba17a83809806880062c9ad541744fb95
tree883522e429e6268a4b79e3bb7f15046c87d5eda7
parent9509b1c150ebbffce0a0480ff21f43e3cd3b2c32
net: filter: x86: split bpf_jit_compile()

Split bpf_jit_compile() into two functions to improve readability
of for(pass++) loop. The change follows similar style of JIT compilers
for arm, powerpc, s390

The body of new do_jit() was not reformatted to reduce noise
in this patch, since the following patch replaces most of it.

Tested with BPF testsuite.

Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/x86/net/bpf_jit_comp.c