Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2017 14:50:38 +0000 (UTC)
From:      =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= <royger@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r322457 - head/sys/x86/acpica
Message-ID:  <201708131450.v7DEocAx012306@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: royger
Date: Sun Aug 13 14:50:38 2017
New Revision: 322457
URL: https://svnweb.freebsd.org/changeset/base/322457

Log:
  srat: use pmap_unmapbios
  
  To match the pmap_mapbios.
  
  Reported by:	jhb
  MFC with:	r322403

Modified:
  head/sys/x86/acpica/srat.c

Modified: head/sys/x86/acpica/srat.c
==============================================================================
--- head/sys/x86/acpica/srat.c	Sun Aug 13 14:42:23 2017	(r322456)
+++ head/sys/x86/acpica/srat.c	Sun Aug 13 14:50:38 2017	(r322457)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708131450.v7DEocAx012306>