OSDN Git Service

net: filter: split 'struct sk_filter' into socket and bpf parts
[uclinux-h8/linux.git] / arch / sparc / net / bpf_jit_comp.c
index 892a102..1f76c22 100644 (file)
@@ -354,7 +354,7 @@ do {        *prog++ = BR_OPC | WDISP22(OFF);                \
  * emit_jump() calls with adjusted offsets.
  */
 
-void bpf_jit_compile(struct sk_filter *fp)
+void bpf_jit_compile(struct bpf_prog *fp)
 {
        unsigned int cleanup_addr, proglen, oldproglen = 0;
        u32 temp[8], *prog, *func, seen = 0, pass;
@@ -808,7 +808,7 @@ out:
        return;
 }
 
-void bpf_jit_free(struct sk_filter *fp)
+void bpf_jit_free(struct bpf_prog *fp)
 {
        if (fp->jited)
                module_free(NULL, fp->bpf_func);