diff options
author | David S. Miller <davem@davemloft.net> | 2017-04-17 18:44:36 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-22 12:10:52 -0700 |
commit | 7a12b5031c6b947cc13918237ae652b536243b76 (patch) | |
tree | 9dc2cf615a990db4d7efc9f17f7656f8bf68b7ac /arch/sparc/net/bpf_jit_asm_32.S | |
parent | 6b3d4eec7f34c21df80191bfd72657404dad0f0a (diff) | |
download | op-kernel-dev-7a12b5031c6b947cc13918237ae652b536243b76.zip op-kernel-dev-7a12b5031c6b947cc13918237ae652b536243b76.tar.gz |
sparc64: Add eBPF JIT.
This is an eBPF JIT for sparc64. All major features are supported.
All tests under tools/testing/selftests/bpf/ pass.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/net/bpf_jit_asm_32.S')
-rw-r--r-- | arch/sparc/net/bpf_jit_asm_32.S | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sparc/net/bpf_jit_asm_32.S b/arch/sparc/net/bpf_jit_asm_32.S index 5632cdc..dcc402f 100644 --- a/arch/sparc/net/bpf_jit_asm_32.S +++ b/arch/sparc/net/bpf_jit_asm_32.S @@ -2,17 +2,10 @@ #include "bpf_jit_32.h" -#ifdef CONFIG_SPARC64 -#define SAVE_SZ 176 -#define SCRATCH_OFF STACK_BIAS + 128 -#define BE_PTR(label) be,pn %xcc, label -#define SIGN_EXTEND(reg) sra reg, 0, reg -#else #define SAVE_SZ 96 #define SCRATCH_OFF 72 #define BE_PTR(label) be label #define SIGN_EXTEND(reg) -#endif #define SKF_MAX_NEG_OFF (-0x200000) /* SKF_LL_OFF from filter.h */ |