diff options
author | James Hogan <[email protected]> | 2016-04-22 10:38:48 +0100 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2016-05-10 15:56:51 +0200 |
commit | 556f2a5231bf3ec4ce98d46434920e31787f79d6 (patch) | |
tree | 430a6713744bef9092cee8fc215ea20e9955b090 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | f049729c05cc5338174d52e2bee6678131da5e08 (diff) |
MIPS: KVM: Fix preemption warning reading FPU capability
Reading the KVM_CAP_MIPS_FPU capability returns cpu_has_fpu, however
this uses smp_processor_id() to read the current CPU capabilities (since
some old MIPS systems could have FPUs present on only a subset of CPUs).
We don't support any such systems, so work around the warning by using
raw_cpu_has_fpu instead.
We should probably instead claim not to support FPU at all if any one
CPU is lacking an FPU, but this should do for now.
Signed-off-by: James Hogan <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: "Radim KrÄmář" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions