Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2017 14:38:28 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r313548 - stable/10/sys/i386/i386
Message-ID:  <201702101438.v1AEcSq5000558@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Fri Feb 10 14:38:28 2017
New Revision: 313548
URL: https://svnweb.freebsd.org/changeset/base/313548

Log:
  MFC r290101 (by hselasky):
  Build fix for i386/XBOX and pc98/GENERIC.
  
  Reported by:	ngie

Modified:
  stable/10/sys/i386/i386/pmap.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/i386/i386/pmap.c
==============================================================================
--- stable/10/sys/i386/i386/pmap.c	Fri Feb 10 13:28:30 2017	(r313547)
+++ stable/10/sys/i386/i386/pmap.c	Fri Feb 10 14:38:28 2017	(r313548)
@@ -1257,8 +1257,10 @@ pmap_invalidate_cache_range(vm_offset_t 
 		sfence();
 	} else if ((cpu_feature & CPUID_CLFSH) != 0 &&
 	    eva - sva < PMAP_CLFLUSH_THRESHOLD) {
+#ifdef DEV_APIC
 		if (pmap_kextract(sva) == lapic_paddr)
 			return;
+#endif
 		/*
 		 * Writes are ordered by CLFLUSH on Intel CPUs.
 		 */



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