aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/net
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/net')
-rw-r--r--arch/s390/net/bpf_jit_comp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/net/bpf_jit_comp.c b/arch/s390/net/bpf_jit_comp.c
index f57f0c335b1d..9b355b406afa 100644
--- a/arch/s390/net/bpf_jit_comp.c
+++ b/arch/s390/net/bpf_jit_comp.c
@@ -367,6 +367,11 @@ static int bpf_jit_insn(struct bpf_jit *jit, struct sock_filter *filter,
367 /* o %r5,<d(K)>(%r13) */ 367 /* o %r5,<d(K)>(%r13) */
368 EMIT4_DISP(0x5650d000, EMIT_CONST(K)); 368 EMIT4_DISP(0x5650d000, EMIT_CONST(K));
369 break; 369 break;
370 case BPF_S_ANC_ALU_XOR_X: /* A ^= X; */
371 jit->seen |= SEEN_XREG;
372 /* xr %r5,%r12 */
373 EMIT2(0x175c);
374 break;
370 case BPF_S_ALU_LSH_X: /* A <<= X; */ 375 case BPF_S_ALU_LSH_X: /* A <<= X; */
371 jit->seen |= SEEN_XREG; 376 jit->seen |= SEEN_XREG;
372 /* sll %r5,0(%r12) */ 377 /* sll %r5,0(%r12) */