diff options
| -rw-r--r-- | arch/sparc/net/Makefile | 2 | ||||
| -rw-r--r-- | arch/sparc/net/bpf_jit_32.h (renamed from arch/sparc/net/bpf_jit.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/net/bpf_jit_asm_32.S (renamed from arch/sparc/net/bpf_jit_asm.S) | 2 | ||||
| -rw-r--r-- | arch/sparc/net/bpf_jit_asm_64.S | 1 | ||||
| -rw-r--r-- | arch/sparc/net/bpf_jit_comp_32.c (renamed from arch/sparc/net/bpf_jit_comp.c) | 2 | ||||
| -rw-r--r-- | arch/sparc/net/bpf_jit_comp_64.c | 1 |
6 files changed, 5 insertions, 3 deletions
diff --git a/arch/sparc/net/Makefile b/arch/sparc/net/Makefile index 1306a58ac541..76fa8e95b721 100644 --- a/arch/sparc/net/Makefile +++ b/arch/sparc/net/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # | 1 | # |
| 2 | # Arch-specific network modules | 2 | # Arch-specific network modules |
| 3 | # | 3 | # |
| 4 | obj-$(CONFIG_BPF_JIT) += bpf_jit_asm.o bpf_jit_comp.o | 4 | obj-$(CONFIG_BPF_JIT) += bpf_jit_asm_$(BITS).o bpf_jit_comp_$(BITS).o |
diff --git a/arch/sparc/net/bpf_jit.h b/arch/sparc/net/bpf_jit_32.h index 33d6b375ff12..33d6b375ff12 100644 --- a/arch/sparc/net/bpf_jit.h +++ b/arch/sparc/net/bpf_jit_32.h | |||
diff --git a/arch/sparc/net/bpf_jit_asm.S b/arch/sparc/net/bpf_jit_asm_32.S index 8c83f4b8eb15..5632cdc922b1 100644 --- a/arch/sparc/net/bpf_jit_asm.S +++ b/arch/sparc/net/bpf_jit_asm_32.S | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #include <asm/ptrace.h> | 1 | #include <asm/ptrace.h> |
| 2 | 2 | ||
| 3 | #include "bpf_jit.h" | 3 | #include "bpf_jit_32.h" |
| 4 | 4 | ||
| 5 | #ifdef CONFIG_SPARC64 | 5 | #ifdef CONFIG_SPARC64 |
| 6 | #define SAVE_SZ 176 | 6 | #define SAVE_SZ 176 |
diff --git a/arch/sparc/net/bpf_jit_asm_64.S b/arch/sparc/net/bpf_jit_asm_64.S new file mode 100644 index 000000000000..6fb023f9cd99 --- /dev/null +++ b/arch/sparc/net/bpf_jit_asm_64.S | |||
| @@ -0,0 +1 @@ | |||
| #include "bpf_jit_asm_32.S" | |||
diff --git a/arch/sparc/net/bpf_jit_comp.c b/arch/sparc/net/bpf_jit_comp_32.c index a6d9204a6a0b..83fc41df9943 100644 --- a/arch/sparc/net/bpf_jit_comp.c +++ b/arch/sparc/net/bpf_jit_comp_32.c | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | #include <asm/cacheflush.h> | 8 | #include <asm/cacheflush.h> |
| 9 | #include <asm/ptrace.h> | 9 | #include <asm/ptrace.h> |
| 10 | 10 | ||
| 11 | #include "bpf_jit.h" | 11 | #include "bpf_jit_32.h" |
| 12 | 12 | ||
| 13 | int bpf_jit_enable __read_mostly; | 13 | int bpf_jit_enable __read_mostly; |
| 14 | 14 | ||
diff --git a/arch/sparc/net/bpf_jit_comp_64.c b/arch/sparc/net/bpf_jit_comp_64.c new file mode 100644 index 000000000000..49b5f65f84ac --- /dev/null +++ b/arch/sparc/net/bpf_jit_comp_64.c | |||
| @@ -0,0 +1 @@ | |||
| #include "bpf_jit_comp_32.c" | |||
