mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
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>
This commit is contained in:
parent
fb796707d7
commit
6b3d4eec7f
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
#include "bpf_jit.h"
|
||||
#include "bpf_jit_32.h"
|
||||
|
||||
#ifdef CONFIG_SPARC64
|
||||
#define SAVE_SZ 176
|
1
arch/sparc/net/bpf_jit_asm_64.S
Normal file
1
arch/sparc/net/bpf_jit_asm_64.S
Normal file
@ -0,0 +1 @@
|
||||
#include "bpf_jit_asm_32.S"
|
@ -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;
|
||||
|
1
arch/sparc/net/bpf_jit_comp_64.c
Normal file
1
arch/sparc/net/bpf_jit_comp_64.c
Normal file
@ -0,0 +1 @@
|
||||
#include "bpf_jit_comp_32.c"
|
Loading…
Reference in New Issue
Block a user