[4/9] msi: use specific endian ld/st_phys

Submitted by Alexander Graf on July 5, 2011, 4:28 p.m.

Details

Message ID 1309883290-17595-5-git-send-email-agraf@suse.de
State New
Headers show

Commit Message

Alexander Graf July 5, 2011, 4:28 p.m.
Signed-off-by: Alexander Graf <agraf@suse.de>
---
 hw/msi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/hw/msi.c b/hw/msi.c
index e8c5607..f214fcf 100644
--- a/hw/msi.c
+++ b/hw/msi.c
@@ -249,7 +249,7 @@  void msi_notify(PCIDevice *dev, unsigned int vector)
                    "notify vector 0x%x"
                    " address: 0x%"PRIx64" data: 0x%"PRIx32"\n",
                    vector, address, data);
-    stl_phys(address, data);
+    stl_le_phys(address, data);
 }
 
 /* call this function after updating configs by pci_default_write_config(). */