[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix assertion.



# HG changeset patch
# User Steven Hand <steven@xxxxxxxxxxxxx>
# Node ID f71f17e64e3a39106fb3156a5a2d1d96fa85f48b
# Parent  4a722773e38db5e8e6e29bdd06a3f71e0d82fad7
Fix assertion.

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>
---
 xen/arch/x86/x86_32/domain_page.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 4a722773e38d -r f71f17e64e3a xen/arch/x86/x86_32/domain_page.c
--- a/xen/arch/x86/x86_32/domain_page.c Mon Aug 21 11:51:54 2006 +0100
+++ b/xen/arch/x86/x86_32/domain_page.c Mon Aug 21 13:21:51 2006 +0100
@@ -241,7 +241,7 @@ void unmap_domain_page_global(void *va)
     l1_pgentry_t *pl1e;
     unsigned int idx;
 
-    ASSERT((__va >= IOREMAP_VIRT_START) && (__va < IOREMAP_VIRT_END));
+    ASSERT(__va >= IOREMAP_VIRT_START);
 
     /* /First/, we zap the PTE. */
     pl2e = virt_to_xen_l2e(__va);
@@ -270,7 +270,7 @@ paddr_t maddr_from_mapped_domain_page(vo
     }
     else
     {
-        ASSERT((__va >= IOREMAP_VIRT_START) && (__va < IOREMAP_VIRT_END));
+        ASSERT(__va >= IOREMAP_VIRT_START);
         pl2e = virt_to_xen_l2e(__va);
         pl1e = l2e_to_l1e(*pl2e) + l1_table_offset(__va);
         mfn = l1e_get_pfn(*pl1e);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.