Commit 6b3d4eec authored by David S. Miller's avatar David S. Miller

sparc: Split BPF JIT into 32-bit and 64-bit.

This is in preparation for adding the 64-bit eBPF JIT.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fb796707
# #
# Arch-specific network modules # Arch-specific network modules
# #
obj-$(CONFIG_BPF_JIT) += bpf_jit_asm.o bpf_jit_comp.o obj-$(CONFIG_BPF_JIT) += bpf_jit_asm_$(BITS).o bpf_jit_comp_$(BITS).o
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include "bpf_jit.h" #include "bpf_jit_32.h"
#ifdef CONFIG_SPARC64 #ifdef CONFIG_SPARC64
#define SAVE_SZ 176 #define SAVE_SZ 176
......
#include "bpf_jit_asm_32.S"
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include "bpf_jit.h" #include "bpf_jit_32.h"
int bpf_jit_enable __read_mostly; int bpf_jit_enable __read_mostly;
......
#include "bpf_jit_comp_32.c"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment