aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm64/net/bpf_jit_comp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/net/bpf_jit_comp.c b/arch/arm64/net/bpf_jit_comp.c
index edba042b2325..dc6a4842683a 100644
--- a/arch/arm64/net/bpf_jit_comp.c
+++ b/arch/arm64/net/bpf_jit_comp.c
@@ -487,7 +487,7 @@ emit_cond_jmp:
487 return -EINVAL; 487 return -EINVAL;
488 } 488 }
489 489
490 imm64 = (u64)insn1.imm << 32 | imm; 490 imm64 = (u64)insn1.imm << 32 | (u32)imm;
491 emit_a64_mov_i64(dst, imm64, ctx); 491 emit_a64_mov_i64(dst, imm64, ctx);
492 492
493 return 1; 493 return 1;