summaryrefslogtreecommitdiffstats
path: root/hw/intc/ompic.c
diff options
context:
space:
mode:
authorLuis Pires2021-09-10 13:26:06 +0200
committerDavid Gibson2021-09-29 11:37:38 +0200
commitbb89646c75e46db0074e263d74770dac6f0a29fc (patch)
tree49e4a9cf9af93c1f6e9a3d4c53944125bf54ba7f /hw/intc/ompic.c
parenthost-utils: introduce uabs64() (diff)
downloadqemu-bb89646c75e46db0074e263d74770dac6f0a29fc.tar.gz
qemu-bb89646c75e46db0074e263d74770dac6f0a29fc.tar.xz
qemu-bb89646c75e46db0074e263d74770dac6f0a29fc.zip
i386/kvm: Replace abs64() with uabs64() from host-utils
Drop abs64() and use uabs64() from host-utils, which avoids an undefined behavior when taking abs of the most negative value. Signed-off-by: Luis Pires <luis.pires@eldorado.org.br> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20210910112624.72748-5-luis.pires@eldorado.org.br> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc/ompic.c')
0 files changed, 0 insertions, 0 deletions