mirror of
https://github.com/torvalds/linux
synced 2024-10-07 20:05:15 +00:00
8d8d18c328
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> |
||
---|---|---|
.. | ||
bpf_jit.c | ||
bpf_jit.h | ||
bpf_jit_asm.S | ||
ebpf_jit.c | ||
Makefile |