aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/amd64/machdep.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>1999-06-13 19:20:25 +0000
committerAlan Cox <alc@FreeBSD.org>1999-06-13 19:20:25 +0000
commitdabd891d6e9fa9277f61c9b02c07d06c5993ea2b (patch)
tree929046d1fdf6d38658a228f24b77aee6bba15d08 /sys/amd64/amd64/machdep.c
parent3d68f363a402d9286fa7aea17516ce2e3c034161 (diff)
downloadsrc-dabd891d6e9fa9277f61c9b02c07d06c5993ea2b.tar.gz
src-dabd891d6e9fa9277f61c9b02c07d06c5993ea2b.zip
Use pmap_kenter instead of pmap_enter to map the message buffer.
Notes
Notes: svn path=/head/; revision=47892
Diffstat (limited to 'sys/amd64/amd64/machdep.c')
-rw-r--r--sys/amd64/amd64/machdep.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 4ed56d91e85e..ae9df8b20268 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.339 1999/06/01 23:45:46 jlemon Exp $
+ * $Id: machdep.c,v 1.340 1999/06/10 02:48:51 jlemon Exp $
*/
#include "apm.h"
@@ -1666,8 +1666,7 @@ init386(first)
/* Map the message buffer. */
for (off = 0; off < round_page(MSGBUF_SIZE); off += PAGE_SIZE)
- pmap_enter(kernel_pmap, (vm_offset_t)msgbufp + off,
- avail_end + off, VM_PROT_ALL, TRUE);
+ pmap_kenter((vm_offset_t)msgbufp + off, avail_end + off);
msgbufinit(msgbufp, MSGBUF_SIZE);