diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index cfd30e2517e8..1fd11e86d8ba 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -388,14 +388,12 @@ create_pagetables(void) ((pd_entry_t *)KPDphys)[i] |= PG_RW | PG_V; } -#if 0 /* Map from zero to end of allocations under 2M pages */ /* This replaces some of the KPTphys entries above */ for (i = 0; (i << PDRSHIFT) < avail_start; i++) { ((pd_entry_t *)KPDphys)[i] = i << PDRSHIFT; ((pd_entry_t *)KPDphys)[i] |= PG_RW | PG_V | PG_PS; } -#endif /* And connect up the PD to the PDP */ for (i = 0; i < NKPDPE; i++) {