diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-01-07 05:37:38 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-01-07 05:37:38 +0000 |
commit | 27f65398f872a8be39f3cff5bed8e2185eb72a7a (patch) | |
tree | fc2a736a6fada935798dbe309e8caca05fb26217 /sys/miscfs/procfs/procfs_mem.c | |
parent | e232dfde38d6b0996968d4320bfea8fb18b8a79a (diff) |
Fix for final ptdi panic on i386
Diffstat (limited to 'sys/miscfs/procfs/procfs_mem.c')
-rw-r--r-- | sys/miscfs/procfs/procfs_mem.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/miscfs/procfs/procfs_mem.c b/sys/miscfs/procfs/procfs_mem.c index 901f13c5e07..dd443a9ab57 100644 --- a/sys/miscfs/procfs/procfs_mem.c +++ b/sys/miscfs/procfs/procfs_mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procfs_mem.c,v 1.2 1996/02/27 08:03:36 niklas Exp $ */ +/* $OpenBSD: procfs_mem.c,v 1.3 1997/01/07 05:37:35 tholo Exp $ */ /* $NetBSD: procfs_mem.c,v 1.8 1996/02/09 22:40:50 christos Exp $ */ /* @@ -149,7 +149,11 @@ procfs_rwmem(p, uio) */ if (!error) vm_map_lookup_done(tmap, out_entry); - + +#ifdef __i386__ + pmap_prefault(map, pageno, PAGE_SIZE); +#endif + /* * Fault the page in... */ |