srat: use pmap_unmapbios

To match the pmap_mapbios.

Reported by:	jhb
MFC with:	r322403
This commit is contained in:
Roger Pau Monné 2017-08-13 14:50:38 +00:00
parent b1cbddaf5d
commit 72446721e4

View File

@ -536,7 +536,7 @@ srat_set_cpus(void *dummy)
}
/* Last usage of the cpus array, unmap it. */
pmap_unmapdev((vm_offset_t)cpus, sizeof(*cpus) * (max_apic_id + 1));
pmap_unmapbios((vm_offset_t)cpus, sizeof(*cpus) * (max_apic_id + 1));
cpus = NULL;
}
SYSINIT(srat_set_cpus, SI_SUB_CPU, SI_ORDER_ANY, srat_set_cpus, NULL);