mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Build fix for i386/XBOX and pc98/GENERIC.
Reviewed by: kib
This commit is contained in:
parent
3ea1870967
commit
8e9ef12d1e
1 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue