Build fix for i386/XBOX and pc98/GENERIC.
Reviewed by: kib
This commit is contained in:
parent
3ea1870967
commit
8e9ef12d1e
@ -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 New Issue
Block a user