diff options
| -rw-r--r-- | arch/powerpc/net/bpf_jit_comp64.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/net/bpf_jit_comp64.c b/arch/powerpc/net/bpf_jit_comp64.c index d9038c468af6..db364d9083e7 100644 --- a/arch/powerpc/net/bpf_jit_comp64.c +++ b/arch/powerpc/net/bpf_jit_comp64.c @@ -1709,6 +1709,14 @@ emit_clear: break; /* + * JUMP reg + */ + case BPF_JMP | BPF_JA | BPF_X: + EMIT(PPC_RAW_MTCTR(dst_reg)); + EMIT(PPC_RAW_BCTR()); + break; + + /* * Return/Exit */ case BPF_JMP | BPF_EXIT: |
