aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMarcin Nowakowski <[email protected]>2016-08-31 12:33:23 +0200
committerRalf Baechle <[email protected]>2016-09-19 16:18:05 +0200
commitb244614a60ab7ce54c12a9cbe15cfbf8d79d0967 (patch)
treefdae16ab753b2b0a055188f8b7eb48c6170a2477 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent801f823dc2d585253f2f8dd17c4a46d9da560579 (diff)
MIPS: Avoid a BUG warning during prctl(PR_SET_FP_MODE, ...)
cpu_has_fpu macro uses smp_processor_id() and is currently executed with preemption enabled, that triggers the warning at runtime. It is assumed throughout the kernel that if any CPU has an FPU, then all CPUs would have an FPU as well, so it is safe to perform the check with preemption enabled - change the code to use raw_ variant of the check to avoid the warning. Signed-off-by: Marcin Nowakowski <[email protected]> Cc: [email protected] Cc: [email protected] # 4.0+ Patchwork: https://patchwork.linux-mips.org/patch/14125/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions