diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2015-03-23 15:29:25 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-04-28 15:36:08 +0200 |
commit | 5863d374a32c98a7adb4c5e49d62de3cdc16d2ea (patch) | |
tree | 95c62c0765d3d399cea6faaa97add282e6868be5 /include | |
parent | ad5f5fdca83cccd1a4c269b1fd8ba2fce8d1ba26 (diff) | |
download | qemu-5863d374a32c98a7adb4c5e49d62de3cdc16d2ea.zip qemu-5863d374a32c98a7adb4c5e49d62de3cdc16d2ea.tar.gz qemu-5863d374a32c98a7adb4c5e49d62de3cdc16d2ea.tar.bz2 |
uninorth: 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: Alexander Graf <agraf@suse.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1427124571-28598-4-git-send-email-stefanha@redhat.com
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions