]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: filter: Fix some more small issues in sparc JIT.
authorDavid S. Miller <davem@davemloft.net>
Tue, 17 Apr 2012 20:38:16 +0000 (16:38 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Apr 2012 20:43:46 +0000 (16:43 -0400)
commit584c5e2ad3ada1a5ccfffa68347b79c3681cc36e
tree462835521cf30f6ceb29471bc2cb6cf37dd9bc94
parent7b56f76edf2da7ab3e356cc0db16f9af4c6a26e2
net: filter: Fix some more small issues in sparc JIT.

Fix mixed space and tabs.

Put bpf_jit_load_*[] externs into bpf_jit.h

"while(0)" --> "while (0)"
"COND (X)" --> "COND(X)"
Document branch offset calculations, and bpf_error's return
sequence.

Document the reason we need to emit three nops between the
%y register write and the divide instruction.

Remove erroneous trailing semicolons from emit_read_y() and
emit_write_y().

Based upon feedback from Sam Ravnborg.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/net/bpf_jit.h
arch/sparc/net/bpf_jit_asm.S
arch/sparc/net/bpf_jit_comp.c