diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-06-16 18:17:23 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-06-27 16:39:56 +0100 |
commit | 6960bfca3a325b4cc1bb6fcc3d537071776cf3fd (patch) | |
tree | 4fc9222be87757e85d378a79aa9056dea94d76c3 /hw/ide | |
parent | 4d9be25200fab72f5f0f1f20e02439ae83f0c1db (diff) |
hw/net/rtl8139.c: Don't use *_to_cpup()
Don't use *_to_cpup() to do byte-swapped loads; instead use
ld*_p() which correctly handle misaligned accesses.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Dmitry Fleytman <dmitry@daynix.com <mailto:dmitry@daynix.com>>
Message-id: 1466097446-981-3-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/ide')
0 files changed, 0 insertions, 0 deletions