1
0
Fork 0

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

This is in preparation for adding the 64-bit eBPF JIT.

Signed-off-by: David S. Miller <davem@davemloft.net>
hifive-unleashed-5.1
David S. Miller 2017-04-17 18:25:07 -07:00
parent fb796707d7
commit 6b3d4eec7f
6 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#
# 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

View File

@ -1,6 +1,6 @@
#include <asm/ptrace.h>
#include "bpf_jit.h"
#include "bpf_jit_32.h"
#ifdef CONFIG_SPARC64
#define SAVE_SZ 176

View File

@ -0,0 +1 @@
#include "bpf_jit_asm_32.S"

View File

@ -8,7 +8,7 @@
#include <asm/cacheflush.h>
#include <asm/ptrace.h>
#include "bpf_jit.h"
#include "bpf_jit_32.h"
int bpf_jit_enable __read_mostly;

View File

@ -0,0 +1 @@
#include "bpf_jit_comp_32.c"