diff options
Diffstat (limited to 'arch/powerpc/net/bpf_jit_comp.c')
-rw-r--r-- | arch/powerpc/net/bpf_jit_comp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/net/bpf_jit_comp.c b/arch/powerpc/net/bpf_jit_comp.c index 82e82cadcde5..3afa6f4c1957 100644 --- a/arch/powerpc/net/bpf_jit_comp.c +++ b/arch/powerpc/net/bpf_jit_comp.c | |||
@@ -25,7 +25,7 @@ static inline void bpf_flush_icache(void *start, void *end) | |||
25 | flush_icache_range((unsigned long)start, (unsigned long)end); | 25 | flush_icache_range((unsigned long)start, (unsigned long)end); |
26 | } | 26 | } |
27 | 27 | ||
28 | static void bpf_jit_build_prologue(struct sk_filter *fp, u32 *image, | 28 | static void bpf_jit_build_prologue(struct bpf_prog *fp, u32 *image, |
29 | struct codegen_context *ctx) | 29 | struct codegen_context *ctx) |
30 | { | 30 | { |
31 | int i; | 31 | int i; |
@@ -121,7 +121,7 @@ static void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) | |||
121 | ((int)K < 0 ? ((int)K >= SKF_LL_OFF ? func##_negative_offset : func) : func##_positive_offset) | 121 | ((int)K < 0 ? ((int)K >= SKF_LL_OFF ? func##_negative_offset : func) : func##_positive_offset) |
122 | 122 | ||
123 | /* Assemble the body code between the prologue & epilogue. */ | 123 | /* Assemble the body code between the prologue & epilogue. */ |
124 | static int bpf_jit_build_body(struct sk_filter *fp, u32 *image, | 124 | static int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, |
125 | struct codegen_context *ctx, | 125 | struct codegen_context *ctx, |
126 | unsigned int *addrs) | 126 | unsigned int *addrs) |
127 | { | 127 | { |
@@ -569,7 +569,7 @@ static int bpf_jit_build_body(struct sk_filter *fp, u32 *image, | |||
569 | return 0; | 569 | return 0; |
570 | } | 570 | } |
571 | 571 | ||
572 | void bpf_jit_compile(struct sk_filter *fp) | 572 | void bpf_jit_compile(struct bpf_prog *fp) |
573 | { | 573 | { |
574 | unsigned int proglen; | 574 | unsigned int proglen; |
575 | unsigned int alloclen; | 575 | unsigned int alloclen; |
@@ -693,7 +693,7 @@ out: | |||
693 | return; | 693 | return; |
694 | } | 694 | } |
695 | 695 | ||
696 | void bpf_jit_free(struct sk_filter *fp) | 696 | void bpf_jit_free(struct bpf_prog *fp) |
697 | { | 697 | { |
698 | if (fp->jited) | 698 | if (fp->jited) |
699 | module_free(NULL, fp->bpf_func); | 699 | module_free(NULL, fp->bpf_func); |