aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-10-20 09:08:27 -0400
committerDavid S. Miller <davem@davemloft.net>2015-10-20 09:08:27 -0400
commit26440c835f8b1a491e2704118ac55bf87334366c (patch)
tree3c2d23b59fd49b252fdbf6c09efc41b354933fc6 /arch/mips/net
parent371f1c7e0d854796adc622cc3bacfcc5fc638db1 (diff)
parent1099f86044111e9a7807f09523e42d4c9d0fb781 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/usb/asix_common.c net/ipv4/inet_connection_sock.c net/switchdev/switchdev.c In the inet_connection_sock.c case the request socket hashing scheme is completely different in net-next. The other two conflicts were overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/mips/net')
-rw-r--r--arch/mips/net/bpf_jit_asm.S13
1 files changed, 7 insertions, 6 deletions
diff --git a/arch/mips/net/bpf_jit_asm.S b/arch/mips/net/bpf_jit_asm.S
index dabf4179cd7e..5d2e0c8d29c0 100644
--- a/arch/mips/net/bpf_jit_asm.S
+++ b/arch/mips/net/bpf_jit_asm.S
@@ -57,12 +57,13 @@
57 57
58LEAF(sk_load_word) 58LEAF(sk_load_word)
59 is_offset_negative(word) 59 is_offset_negative(word)
60 .globl sk_load_word_positive 60FEXPORT(sk_load_word_positive)
61sk_load_word_positive:
62 is_offset_in_header(4, word) 61 is_offset_in_header(4, word)
63 /* Offset within header boundaries */ 62 /* Offset within header boundaries */
64 PTR_ADDU t1, $r_skb_data, offset 63 PTR_ADDU t1, $r_skb_data, offset
64 .set reorder
65 lw $r_A, 0(t1) 65 lw $r_A, 0(t1)
66 .set noreorder
66#ifdef CONFIG_CPU_LITTLE_ENDIAN 67#ifdef CONFIG_CPU_LITTLE_ENDIAN
67# if defined(__mips_isa_rev) && (__mips_isa_rev >= 2) 68# if defined(__mips_isa_rev) && (__mips_isa_rev >= 2)
68 wsbh t0, $r_A 69 wsbh t0, $r_A
@@ -85,12 +86,13 @@ sk_load_word_positive:
85 86
86LEAF(sk_load_half) 87LEAF(sk_load_half)
87 is_offset_negative(half) 88 is_offset_negative(half)
88 .globl sk_load_half_positive 89FEXPORT(sk_load_half_positive)
89sk_load_half_positive:
90 is_offset_in_header(2, half) 90 is_offset_in_header(2, half)
91 /* Offset within header boundaries */ 91 /* Offset within header boundaries */
92 PTR_ADDU t1, $r_skb_data, offset 92 PTR_ADDU t1, $r_skb_data, offset
93 .set reorder
93 lh $r_A, 0(t1) 94 lh $r_A, 0(t1)
95 .set noreorder
94#ifdef CONFIG_CPU_LITTLE_ENDIAN 96#ifdef CONFIG_CPU_LITTLE_ENDIAN
95# if defined(__mips_isa_rev) && (__mips_isa_rev >= 2) 97# if defined(__mips_isa_rev) && (__mips_isa_rev >= 2)
96 wsbh t0, $r_A 98 wsbh t0, $r_A
@@ -109,8 +111,7 @@ sk_load_half_positive:
109 111
110LEAF(sk_load_byte) 112LEAF(sk_load_byte)
111 is_offset_negative(byte) 113 is_offset_negative(byte)
112 .globl sk_load_byte_positive 114FEXPORT(sk_load_byte_positive)
113sk_load_byte_positive:
114 is_offset_in_header(1, byte) 115 is_offset_in_header(1, byte)
115 /* Offset within header boundaries */ 116 /* Offset within header boundaries */
116 PTR_ADDU t1, $r_skb_data, offset 117 PTR_ADDU t1, $r_skb_data, offset