summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-05-04 18:55:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-05-04 18:55:07 +0000
commitba5109fe82aeb027bef7a1ecff625ce209b2b0b7 (patch)
tree8ad1723713dce9f7be2fedc0971491ba3de41087 /sys/arch/i386
parent680fe193ed6d28f505924aac0a850890cf7f495e (diff)
revision 1.31 patch was incorrect
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/pmap.c4
-rw-r--r--sys/arch/i386/i386/pmap.old.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c
index 2371786f1e8..8214b0a4f87 100644
--- a/sys/arch/i386/i386/pmap.c
+++ b/sys/arch/i386/i386/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.35 2000/02/22 19:27:48 deraadt Exp $ */
+/* $OpenBSD: pmap.c,v 1.36 2000/05/04 18:55:06 deraadt Exp $ */
/* $NetBSD: pmap.c,v 1.36 1996/05/03 19:42:22 christos Exp $ */
/*
@@ -290,7 +290,6 @@ pmap_bootstrap(virtual_start)
*/
virtual_avail = reserve_dumppages(virtual_avail);
-#if !defined(UVM)
/* flawed, no mappings?? */
if (ctob(physmem) > 31*1024*1024 && MAXKPDE != NKPDE) {
vm_offset_t p;
@@ -304,7 +303,6 @@ pmap_bootstrap(virtual_start)
PTD[KPTDI+i] = (pd_entry_t)p |
PG_V | PG_KW;
}
-#endif
}
void
diff --git a/sys/arch/i386/i386/pmap.old.c b/sys/arch/i386/i386/pmap.old.c
index 809e80b7131..c6ab6121d5a 100644
--- a/sys/arch/i386/i386/pmap.old.c
+++ b/sys/arch/i386/i386/pmap.old.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.old.c,v 1.35 2000/02/22 19:27:48 deraadt Exp $ */
+/* $OpenBSD: pmap.old.c,v 1.36 2000/05/04 18:55:06 deraadt Exp $ */
/* $NetBSD: pmap.c,v 1.36 1996/05/03 19:42:22 christos Exp $ */
/*
@@ -290,7 +290,6 @@ pmap_bootstrap(virtual_start)
*/
virtual_avail = reserve_dumppages(virtual_avail);
-#if !defined(UVM)
/* flawed, no mappings?? */
if (ctob(physmem) > 31*1024*1024 && MAXKPDE != NKPDE) {
vm_offset_t p;
@@ -304,7 +303,6 @@ pmap_bootstrap(virtual_start)
PTD[KPTDI+i] = (pd_entry_t)p |
PG_V | PG_KW;
}
-#endif
}
void