|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-3.1-testing] ioemu: fix phys_ram_addr parameter usa
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1201186404 0
# Node ID a45820f0445a1e7759fd7b83ea0a6a58621f462c
# Parent 328d7abb2a1f21bf052ff44787bcf834af1726e8
ioemu: fix phys_ram_addr parameter usage
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx
xen-unstable changeset: 16864:f98a26b5b3982cc517169d38551b946319b8fc65
xen-unstable date: Wed Jan 23 18:03:25 2008 +0000
---
tools/ioemu/target-i386-dm/exec-dm.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 328d7abb2a1f -r a45820f0445a tools/ioemu/target-i386-dm/exec-dm.c
--- a/tools/ioemu/target-i386-dm/exec-dm.c Thu Jan 24 14:52:57 2008 +0000
+++ b/tools/ioemu/target-i386-dm/exec-dm.c Thu Jan 24 14:53:24 2008 +0000
@@ -426,7 +426,7 @@ int iomem_index(target_phys_addr_t addr)
#if defined(__i386__) || defined(__x86_64__)
#define phys_ram_addr(x) (qemu_map_cache(x))
#elif defined(__ia64__)
-#define phys_ram_addr(x) ((addr < ram_size) ? (phys_ram_base + (x)) : NULL)
+#define phys_ram_addr(x) (((x) < ram_size) ? (phys_ram_base + (x)) : NULL)
#endif
extern unsigned long *logdirty_bitmap;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-3.1-testing] ioemu: fix phys_ram_addr parameter usage,
Xen patchbot-3.1-testing <=
|
|
|
|
|