I'm told by the PR author that this page_size increment was in
the wrong place; back it out.
This commit is contained in:
parent
93fcd374b4
commit
0dfcd4a9c4
@ -36,7 +36,7 @@
|
||||
* future.
|
||||
*/
|
||||
|
||||
#ident "$Id: dpt_control.c,v 1.10 1998/12/04 22:54:45 archie Exp $"
|
||||
#ident "$Id: dpt_control.c,v 1.11 1999/05/11 11:03:18 jkh Exp $"
|
||||
|
||||
#include "opt_dpt.h"
|
||||
|
||||
@ -150,7 +150,6 @@ dpt_physmap(u_int32_t req_paddr, vm_size_t req_size)
|
||||
if (va == (vm_offset_t) 0)
|
||||
return (va);
|
||||
|
||||
size += PAGE_SIZE;
|
||||
for (ndx = 0; ndx < size; ndx += PAGE_SIZE) {
|
||||
pmap_kenter(va + ndx, paddr + ndx);
|
||||
invltlb();
|
||||
|
Loading…
Reference in New Issue
Block a user