diff mbox

net: filter: remove unused cpu_off

Message ID 1334717479.2472.73.camel@edumazet-glaptop
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Eric Dumazet April 18, 2012, 2:51 a.m. UTC
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller April 18, 2012, 2:57 a.m. UTC | #1
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed, 18 Apr 2012 04:51:19 +0200

> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>

Applied, but I added "in sparc JIT" to the subject line.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Eric Dumazet April 18, 2012, 2:59 a.m. UTC | #2
On Tue, 2012-04-17 at 22:57 -0400, David Miller wrote:
> From: Eric Dumazet <eric.dumazet@gmail.com>
> Date: Wed, 18 Apr 2012 04:51:19 +0200
> 
> > Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
> 
> Applied, but I added "in sparc JIT" to the subject line.
> 
> Thanks.

No problem, I just copy/pasted your own subjects for this file 

Thanks


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller April 18, 2012, 3:21 a.m. UTC | #3
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed, 18 Apr 2012 04:59:52 +0200

> On Tue, 2012-04-17 at 22:57 -0400, David Miller wrote:
>> From: Eric Dumazet <eric.dumazet@gmail.com>
>> Date: Wed, 18 Apr 2012 04:51:19 +0200
>> 
>> > Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
>> 
>> Applied, but I added "in sparc JIT" to the subject line.
>> 
>> Thanks.
> 
> No problem, I just copy/pasted your own subjects for this file 

They all had sparc in them :-)

David S. Miller (3):
      net: filter: Just In Time compiler for sparc
      net: filter: Fix some minor issues in sparc JIT.
      net: filter: Fix some more small issues in sparc JIT.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Eric Dumazet April 18, 2012, 3:48 a.m. UTC | #4
On Tue, 2012-04-17 at 23:21 -0400, David Miller wrote:

> They all had sparc in them :-)
> 
> David S. Miller (3):
>       net: filter: Just In Time compiler for sparc
>       net: filter: Fix some minor issues in sparc JIT.
>       net: filter: Fix some more small issues in sparc JIT.
> 

Oh forget this, it was 5am here and I misread your reply ;)


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/sparc/net/bpf_jit_comp.c b/arch/sparc/net/bpf_jit_comp.c
index 4ce0296..1a69244 100644
--- a/arch/sparc/net/bpf_jit_comp.c
+++ b/arch/sparc/net/bpf_jit_comp.c
@@ -240,8 +240,6 @@  do {	*prog++ = LD32I | RS1(FP) | S13(-(OFF)) | RD(DEST);	\
 do {	*prog++ = LD32I | RS1(FP) | S13(-(OFF)) | RD(SRC);	\
 } while (0)
 
-#define cpu_off		offsetof(struct thread_info, cpu)
-
 #ifdef CONFIG_SMP
 #ifdef CONFIG_SPARC64
 #define emit_load_cpu(REG)						\