summaryrefslogtreecommitdiffstats
path: root/firmware/ess
diff options
context:
space:
mode:
authorJan Seiffert2012-04-29 21:02:19 +0200
committerDavid S. Miller2012-04-30 19:40:50 +0200
commit05be18241e83d2ac6b656c8f924e74b3998c173f (patch)
tree4f0637e3fb5116fa259130b75a5dfdcb3e3335e7 /firmware/ess
parentnet: fix sk_sockets_allocated_read_positive (diff)
downloadkernel-qcow2-linux-05be18241e83d2ac6b656c8f924e74b3998c173f.tar.gz
kernel-qcow2-linux-05be18241e83d2ac6b656c8f924e74b3998c173f.tar.xz
kernel-qcow2-linux-05be18241e83d2ac6b656c8f924e74b3998c173f.zip
bpf jit: Let the powerpc jit handle negative offsets
Now the helper function from filter.c for negative offsets is exported, it can be used it in the jit to handle negative offsets. First modify the asm load helper functions to handle: - know positive offsets - know negative offsets - any offset then the compiler can be modified to explicitly use these helper when appropriate. This fixes the case of a negative X register and allows to lift the restriction that bpf programs with negative offsets can't be jited. Tested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Jan Seiffert <kaffeemonster@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/ess')
0 files changed, 0 insertions, 0 deletions