From 72446721e4d0864b318ee7309a21205cb96faaf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Date: Sun, 13 Aug 2017 14:50:38 +0000 Subject: [PATCH] srat: use pmap_unmapbios To match the pmap_mapbios. Reported by: jhb MFC with: r322403 --- sys/x86/acpica/srat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/x86/acpica/srat.c b/sys/x86/acpica/srat.c index 8a28c7421f77..73da79674966 100644 --- a/sys/x86/acpica/srat.c +++ b/sys/x86/acpica/srat.c @@ -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);