From 6e931878c1bde26ff594f284a6857e0d786674bc Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 5 Nov 2013 16:38:30 +0000 Subject: bswap.h: Remove cpu_to_le32wu() Replace the legacy cpu_to_le32wu() with stl_le_p(). Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Michael S. Tsirkin Message-id: 1383669517-25598-3-git-send-email-peter.maydell@linaro.org Signed-off-by: Anthony Liguori --- include/hw/pci/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/hw/pci') diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index fae2170..9cd0642 100644 --- a/include/hw/pci/pci.h +++ b/include/hw/pci/pci.h @@ -433,7 +433,7 @@ pci_get_word(const uint8_t *config) static inline void pci_set_long(uint8_t *config, uint32_t val) { - cpu_to_le32wu((uint32_t *)config, val); + stl_le_p(config, val); } static inline uint32_t -- cgit v1.1