diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-08-05 16:06:26 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2020-09-03 13:13:58 -0700 |
commit | 4ca3d09cd9b2046984966ef430cca4572ae0a925 (patch) | |
tree | f276bd1088a74e1b1c1a6d016d7fb69e9449e560 /tcg/tcg-op-gvec.c | |
parent | e7e8f33fb603c3bfa0479d7d924f2ad676a84317 (diff) |
softmmu/cpus: Only set parallel_cpus for SMP
Do not set parallel_cpus if there is only one cpu instantiated.
This will allow tcg to use serial code to implement atomics.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tcg-op-gvec.c')
0 files changed, 0 insertions, 0 deletions