ARM: net: bpf: provide load/store ops with negative immediates
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 11 Jul 2018 09:31:36 +0000 (10:31 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 12 Jul 2018 18:45:22 +0000 (20:45 +0200)
commita8ef95a034233190b1dd73ff03472ff0f7f4fbdf
tree195d4fd69d71ea07bbc5fcc063723605a6312f67
parentd449ceb11b3884770c06e71cf15edc9f3b4c9b05
ARM: net: bpf: provide load/store ops with negative immediates

Provide a set of load/store opcode generators that work with negative
immediates as well as positive ones.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
arch/arm/net/bpf_jit_32.c
arch/arm/net/bpf_jit_32.h