Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2018 16:17:35 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339016 - head/sys/i386/i386
Message-ID:  <201809291617.w8TGHZwe085404@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Sep 29 16:17:35 2018
New Revision: 339016
URL: https://svnweb.freebsd.org/changeset/base/339016

Log:
  Fix UP build.
  
  Reported by:	tijl
  Sponsored by:	The FreeBSD Foundation
  Approved by:	re (rgrimes)

Modified:
  head/sys/i386/i386/pmap.c

Modified: head/sys/i386/i386/pmap.c
==============================================================================
--- head/sys/i386/i386/pmap.c	Sat Sep 29 15:18:18 2018	(r339015)
+++ head/sys/i386/i386/pmap.c	Sat Sep 29 16:17:35 2018	(r339016)
@@ -1456,6 +1456,7 @@ pmap_force_invalidate_cache_range(vm_offset_t sva, vm_
 		return;
 	}
 
+#ifdef DEV_APIC
 	/*
 	 * XXX: Some CPUs fault, hang, or trash the local APIC
 	 * registers if we use CLFLUSH on the local APIC
@@ -1464,6 +1465,7 @@ pmap_force_invalidate_cache_range(vm_offset_t sva, vm_
 	 */
 	if (pmap_kextract(sva) == lapic_paddr)
 		return;
+#endif
 
 	if ((cpu_stdext_feature & CPUID_STDEXT_CLFLUSHOPT) != 0) {
 		/*



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