diff options
author | David S. Miller <davem@davemloft.net> | 2019-05-02 22:14:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-02 22:14:21 -0400 |
commit | ff24e4980a68d83090a02fda081741a410fe8eef (patch) | |
tree | 4d874dfcaf2bb8c3abc2446af9447a983402c0ae /arch/mips/net/ebpf_jit.c | |
parent | 26f146ed971c0e4a264ce525d7a66a71ef73690d (diff) | |
parent | ea9866793d1e925b4d320eaea409263b2a568f38 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Three trivial overlapping conflicts.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/mips/net/ebpf_jit.c')
-rw-r--r-- | arch/mips/net/ebpf_jit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/net/ebpf_jit.c b/arch/mips/net/ebpf_jit.c index 0effd3cba9a7..98bf0c222b5f 100644 --- a/arch/mips/net/ebpf_jit.c +++ b/arch/mips/net/ebpf_jit.c | |||
@@ -186,8 +186,9 @@ enum which_ebpf_reg { | |||
186 | * separate frame pointer, so BPF_REG_10 relative accesses are | 186 | * separate frame pointer, so BPF_REG_10 relative accesses are |
187 | * adjusted to be $sp relative. | 187 | * adjusted to be $sp relative. |
188 | */ | 188 | */ |
189 | int ebpf_to_mips_reg(struct jit_ctx *ctx, const struct bpf_insn *insn, | 189 | static int ebpf_to_mips_reg(struct jit_ctx *ctx, |
190 | enum which_ebpf_reg w) | 190 | const struct bpf_insn *insn, |
191 | enum which_ebpf_reg w) | ||
191 | { | 192 | { |
192 | int ebpf_reg = (w == src_reg || w == src_reg_no_fp) ? | 193 | int ebpf_reg = (w == src_reg || w == src_reg_no_fp) ? |
193 | insn->src_reg : insn->dst_reg; | 194 | insn->src_reg : insn->dst_reg; |