diff options
author | Peter Maydell | 2016-06-10 18:10:21 +0200 |
---|---|---|
committer | Peter Maydell | 2016-06-28 16:09:32 +0200 |
commit | b7a511248d10ef84116ff0585655140a37821e9b (patch) | |
tree | f3b1d6d8bf0a0c4f10e7343bd25d07c8a468457b /hw/net | |
parent | Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into ... (diff) | |
download | qemu-b7a511248d10ef84116ff0585655140a37821e9b.tar.gz qemu-b7a511248d10ef84116ff0585655140a37821e9b.tar.xz qemu-b7a511248d10ef84116ff0585655140a37821e9b.zip |
hw/sh4/sh_pci.c: Use ldl_le_p() and stl_le_p()
Use ldl_le_p() and stl_le_p() instead of le32_to_cpup() and
cpu_to_le32w(); the former handle misaligned addresses and don't
need casts, and the latter are deprecated.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Aurelien Jarno <aurelien@aurel32.net>
Message-id: 1465575021-3774-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/net')
0 files changed, 0 insertions, 0 deletions