diff options
author | Stefan Hajnoczi | 2015-03-23 16:29:24 +0100 |
---|---|---|
committer | Kevin Wolf | 2015-04-28 15:36:08 +0200 |
commit | ad5f5fdca83cccd1a4c269b1fd8ba2fce8d1ba26 (patch) | |
tree | 37ac44a4f5bfc7c341a0d4e25f97b5c88ac703d1 /hw/pci/msi.c | |
parent | bt-sdp: fix broken uuids power-of-2 calculation (diff) | |
download | qemu-ad5f5fdca83cccd1a4c269b1fd8ba2fce8d1ba26.tar.gz qemu-ad5f5fdca83cccd1a4c269b1fd8ba2fce8d1ba26.tar.xz qemu-ad5f5fdca83cccd1a4c269b1fd8ba2fce8d1ba26.zip |
hw/arm/nseries: convert ffs(3) to ctz32()
It is not clear from the code how a 0 parameter should be handled by the
hardware. Keep the same behavior as ffs(0) - 1 == -1.
Cc: Andrzej Zaborowski <balrog@zabor.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1427124571-28598-3-git-send-email-stefanha@redhat.com
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/pci/msi.c')
0 files changed, 0 insertions, 0 deletions