From f6f20e1269329f653a5f9a0f0fbc8dbe7c03b9f7 Mon Sep 17 00:00:00 2001 From: Tomas Hruby Date: Wed, 21 Jul 2010 13:46:29 +0000 Subject: [PATCH] Overly restrictive assert - not true if APIC is enabled --- servers/vm/arch/i386/pagetable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/vm/arch/i386/pagetable.c b/servers/vm/arch/i386/pagetable.c index 880051381..367508372 100644 --- a/servers/vm/arch/i386/pagetable.c +++ b/servers/vm/arch/i386/pagetable.c @@ -469,7 +469,7 @@ PUBLIC int pt_ptalloc_in_range(pt_t *pt, vir_bytes start, vir_bytes end, first_pde = start ? I386_VM_PDE(start) : proc_pde; last_pde = end ? I386_VM_PDE(end) : I386_VM_DIR_ENTRIES - 1; - assert(first_pde >= proc_pde && first_pde <= last_pde); + assert(first_pde >= 0); assert(last_pde < I386_VM_DIR_ENTRIES); /* Scan all page-directory entries in the range. */ -- 2.44.0