aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dst.c
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2017-08-18 16:40:31 -0700
committerDavid S. Miller <davem@davemloft.net>2017-08-21 10:31:34 -0700
commit8d8d18c3283f0cf72f6ac41f337d5b6f818649b6 (patch)
treee4e5f9774658c3af9b9466b96e1c0f459b1c93f0 /net/core/dst.c
parentqlogic: make device_attribute const (diff)
downloadlinux-rng-8d8d18c3283f0cf72f6ac41f337d5b6f818649b6.tar.xz
linux-rng-8d8d18c3283f0cf72f6ac41f337d5b6f818649b6.zip
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>
Diffstat (limited to 'net/core/dst.c')
0 files changed, 0 insertions, 0 deletions