aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-06-11 19:02:55 -0400
committerDavid S. Miller <davem@davemloft.net>2014-06-11 19:02:55 -0400
commit902455e00720018d1dbd38327c3fd5bda6d844ee (patch)
tree02fc906c5bc318220ad4827c6eac2521b9d1fbbf /arch/sparc/net
parent39f33367e420d88b3cbbd474e5bcc326338ef324 (diff)
parentc5b46160877a9bb23ab6f96fb666e7766f407704 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: net/core/rtnetlink.c net/core/skbuff.c Both conflicts were very simple overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/net')
-rw-r--r--arch/sparc/net/bpf_jit_comp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/net/bpf_jit_comp.c b/arch/sparc/net/bpf_jit_comp.c
index c88cf147deed..892a102671ad 100644
--- a/arch/sparc/net/bpf_jit_comp.c
+++ b/arch/sparc/net/bpf_jit_comp.c
@@ -83,9 +83,9 @@ static void bpf_flush_icache(void *start_, void *end_)
83#define BNE (F2(0, 2) | CONDNE) 83#define BNE (F2(0, 2) | CONDNE)
84 84
85#ifdef CONFIG_SPARC64 85#ifdef CONFIG_SPARC64
86#define BNE_PTR (F2(0, 1) | CONDNE | (2 << 20)) 86#define BE_PTR (F2(0, 1) | CONDE | (2 << 20))
87#else 87#else
88#define BNE_PTR BNE 88#define BE_PTR BE
89#endif 89#endif
90 90
91#define SETHI(K, REG) \ 91#define SETHI(K, REG) \
@@ -592,7 +592,7 @@ void bpf_jit_compile(struct sk_filter *fp)
592 case BPF_ANC | SKF_AD_IFINDEX: 592 case BPF_ANC | SKF_AD_IFINDEX:
593 emit_skb_loadptr(dev, r_A); 593 emit_skb_loadptr(dev, r_A);
594 emit_cmpi(r_A, 0); 594 emit_cmpi(r_A, 0);
595 emit_branch(BNE_PTR, cleanup_addr + 4); 595 emit_branch(BE_PTR, cleanup_addr + 4);
596 emit_nop(); 596 emit_nop();
597 emit_load32(r_A, struct net_device, ifindex, r_A); 597 emit_load32(r_A, struct net_device, ifindex, r_A);
598 break; 598 break;
@@ -605,7 +605,7 @@ void bpf_jit_compile(struct sk_filter *fp)
605 case BPF_ANC | SKF_AD_HATYPE: 605 case BPF_ANC | SKF_AD_HATYPE:
606 emit_skb_loadptr(dev, r_A); 606 emit_skb_loadptr(dev, r_A);
607 emit_cmpi(r_A, 0); 607 emit_cmpi(r_A, 0);
608 emit_branch(BNE_PTR, cleanup_addr + 4); 608 emit_branch(BE_PTR, cleanup_addr + 4);
609 emit_nop(); 609 emit_nop();
610 emit_load16(r_A, struct net_device, type, r_A); 610 emit_load16(r_A, struct net_device, type, r_A);
611 break; 611 break;