linux/arch/mips/net
David Daney 8d8d18c328 MIPS,bpf: Fix using smp_processor_id() in preemptible splat.
If the kernel is configured with preemption enabled we were getting
warning stack traces for use of current_cpu_type().

Fix by moving the test between preempt_disable()/preempt_enable() and
caching the results of the CPU type tests for use during code
generation.

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-21 10:31:34 -07:00
..
bpf_jit.c MIPS: BPF: Quit clobbering callee saved registers in JIT code. 2017-04-10 11:56:05 +02:00
bpf_jit.h MIPS: BPF: Introduce BPF ASM helpers 2015-06-21 21:54:25 +02:00
bpf_jit_asm.S MIPS: BPF: Fix multiple problems in JIT skb access helpers. 2017-04-10 11:56:05 +02:00
ebpf_jit.c MIPS,bpf: Fix using smp_processor_id() in preemptible splat. 2017-08-21 10:31:34 -07:00
Makefile MIPS: Add support for eBPF JIT. 2017-06-28 12:22:39 +02:00