ia64/xen-unstable

changeset 16473:22f7a7a42b86

[IA64] Fix assign_domain_mmio_page

Test phys_addr against efi memmap, not mpaddr.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
author Alex Williamson <alex.williamson@hp.com>
date Wed Nov 28 12:38:58 2007 -0700 (2007-11-28)
parents c4ed92fb0d05
children ad5fa636bc4e
files xen/arch/ia64/xen/mm.c
line diff
     1.1 --- a/xen/arch/ia64/xen/mm.c	Wed Nov 28 12:34:33 2007 -0700
     1.2 +++ b/xen/arch/ia64/xen/mm.c	Wed Nov 28 12:38:58 2007 -0700
     1.3 @@ -1194,7 +1194,7 @@ assign_domain_mmio_page(struct domain *d
     1.4          gdprintk(XENLOG_INFO, "%s: domain %p mpaddr 0x%lx size = 0x%lx\n",
     1.5                  __func__, d, mpaddr, size);
     1.6      }
     1.7 -    if (!efi_mmio(mpaddr, size)) {
     1.8 +    if (!efi_mmio(phys_addr, size)) {
     1.9  #ifndef NDEBUG
    1.10          gdprintk(XENLOG_INFO, "%s: domain %p mpaddr 0x%lx size = 0x%lx\n",
    1.11                  __func__, d, mpaddr, size);