diff options
author | hselasky <hselasky@FreeBSD.org> | 2015-10-28 12:10:01 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2015-10-28 12:10:01 +0000 |
commit | c12637e275560f6289d1e1e9bf9ec55962757133 (patch) | |
tree | 4efe4d3f1dec381cb1b14007eb12db67023770d8 | |
parent | 39fb527bf90f6a5cb03d93bd49c310bbca016a45 (diff) | |
download | FreeBSD-src-c12637e275560f6289d1e1e9bf9ec55962757133.zip FreeBSD-src-c12637e275560f6289d1e1e9bf9ec55962757133.tar.gz |
Build fix for i386/XBOX and pc98/GENERIC.
Reviewed by: kib
-rw-r--r-- | sys/i386/i386/pmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 7fffdfc..5b69d58 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -1259,8 +1259,10 @@ pmap_invalidate_cache_range(vm_offset_t sva, vm_offset_t eva, boolean_t force) mfence(); } 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. */ |