# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1196278738 25200
# Node ID 22f7a7a42b861113e1f38e4fe9c444927ade2844
# Parent c4ed92fb0d05a6668e9c45524df0b40ee801240f
[IA64] Fix assign_domain_mmio_page
Test phys_addr against efi memmap, not mpaddr.
Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
---
xen/arch/ia64/xen/mm.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r c4ed92fb0d05 -r 22f7a7a42b86 xen/arch/ia64/xen/mm.c
--- a/xen/arch/ia64/xen/mm.c Wed Nov 28 12:34:33 2007 -0700
+++ b/xen/arch/ia64/xen/mm.c Wed Nov 28 12:38:58 2007 -0700
@@ -1194,7 +1194,7 @@ assign_domain_mmio_page(struct domain *d
gdprintk(XENLOG_INFO, "%s: domain %p mpaddr 0x%lx size = 0x%lx\n",
__func__, d, mpaddr, size);
}
- if (!efi_mmio(mpaddr, size)) {
+ if (!efi_mmio(phys_addr, size)) {
#ifndef NDEBUG
gdprintk(XENLOG_INFO, "%s: domain %p mpaddr 0x%lx size = 0x%lx\n",
__func__, d, mpaddr, size);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|