Oops, I inserted that last patch in the wrong place.
This commit is contained in:
parent
f487cb907c
commit
776aa7931b
|
@ -28,7 +28,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: pmap.c,v 1.31 1994/07/14 01:18:46 gwr Exp $
|
||||
* $Id: pmap.c,v 1.32 1994/07/14 01:24:19 gwr Exp $
|
||||
*/
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -1645,14 +1645,14 @@ void pmap_remove_range_mmu(pmap, sva, eva)
|
|||
pmeg_t pmegp;
|
||||
vm_offset_t va,pte;
|
||||
|
||||
saved_context = get_context();
|
||||
if (pmap != kernel_pmap)
|
||||
set_context(pmap->pm_context->context_num);
|
||||
|
||||
/* XXX - Never unmap DVMA space... */
|
||||
if (sva >= VM_MAX_KERNEL_ADDRESS)
|
||||
return;
|
||||
|
||||
saved_context = get_context();
|
||||
if (pmap != kernel_pmap)
|
||||
set_context(pmap->pm_context->context_num);
|
||||
|
||||
sme = get_segmap(sva);
|
||||
if (sme != SEGINV) {
|
||||
pmegp = pmeg_p(sme);
|
||||
|
|
Loading…
Reference in New Issue