diff options
Diffstat (limited to 'arch/powerpc/net/bpf_jit_comp64.c')
-rw-r--r-- | arch/powerpc/net/bpf_jit_comp64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/net/bpf_jit_comp64.c b/arch/powerpc/net/bpf_jit_comp64.c index 0a34b0cec7b7..0ef3d9580e98 100644 --- a/arch/powerpc/net/bpf_jit_comp64.c +++ b/arch/powerpc/net/bpf_jit_comp64.c | |||
@@ -240,6 +240,7 @@ static void bpf_jit_emit_tail_call(u32 *image, struct codegen_context *ctx, u32 | |||
240 | * goto out; | 240 | * goto out; |
241 | */ | 241 | */ |
242 | PPC_LWZ(b2p[TMP_REG_1], b2p_bpf_array, offsetof(struct bpf_array, map.max_entries)); | 242 | PPC_LWZ(b2p[TMP_REG_1], b2p_bpf_array, offsetof(struct bpf_array, map.max_entries)); |
243 | PPC_RLWINM(b2p_index, b2p_index, 0, 0, 31); | ||
243 | PPC_CMPLW(b2p_index, b2p[TMP_REG_1]); | 244 | PPC_CMPLW(b2p_index, b2p[TMP_REG_1]); |
244 | PPC_BCC(COND_GE, out); | 245 | PPC_BCC(COND_GE, out); |
245 | 246 | ||