projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c20494
)
net: filter: remove unused cpu_off in sparc JIT
author
Eric Dumazet
<eric.dumazet@gmail.com>
Tue, 17 Apr 2012 16:51:19 +0000
(16:51 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 18 Apr 2012 02:55:59 +0000
(22:55 -0400)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/net/bpf_jit_comp.c
patch
|
blob
|
history
diff --git
a/arch/sparc/net/bpf_jit_comp.c
b/arch/sparc/net/bpf_jit_comp.c
index 4ce0296575ebf531381f3375d5f86f499d97e874..1a69244e785b4df215ffc68c7befd47905531dda 100644
(file)
--- 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) \