Remove stray semicolon in pmap_kextract() that turned the conditional

"return (0)" into an unconditional one and as such broke PBVM address
queries -- such as during kernel core dumps.

Approved by:	re (blanket)
This commit is contained in:
Marcel Moolenaar 2011-08-05 23:05:46 +00:00
parent 841fed3aa3
commit 444b037cd2

View File

@ -1235,7 +1235,7 @@ pmap_kextract(vm_offset_t va)
}
/* PBVM page table. */
if (va >= IA64_PBVM_PGTBL + bootinfo->bi_pbvm_pgtblsz);
if (va >= IA64_PBVM_PGTBL + bootinfo->bi_pbvm_pgtblsz)
return (0);
if (va >= IA64_PBVM_PGTBL)
return (va - IA64_PBVM_PGTBL) + bootinfo->bi_pbvm_pgtbl;