mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
bswap.h: Remove le32_to_cpupu()
Replace the legacy le32_to_cpupu() with ldl_le_p(). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-id: 1383669517-25598-5-git-send-email-peter.maydell@linaro.org Signed-off-by: Anthony Liguori <aliguori@amazon.com>
This commit is contained in:
parent
c65e5de94d
commit
f567656a67
3 changed files with 2 additions and 7 deletions
|
@ -439,7 +439,7 @@ pci_set_long(uint8_t *config, uint32_t val)
|
|||
static inline uint32_t
|
||||
pci_get_long(const uint8_t *config)
|
||||
{
|
||||
return le32_to_cpupu((const uint32_t *)config);
|
||||
return ldl_le_p(config);
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue