mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't use multiprocessing-extensions instruction on processors that don't
support SMP. Submitted by: loos@ Pointy hat to: me
This commit is contained in:
parent
88b3694bd9
commit
440fe55df6
1 changed files with 4 additions and 0 deletions
|
|
@ -251,7 +251,11 @@ ENTRY(armv7_idcache_wbinv_range)
|
|||
END(armv7_idcache_wbinv_range)
|
||||
|
||||
ENTRY_NP(armv7_icache_sync_all)
|
||||
#ifdef SMP
|
||||
mcr p15, 0, r0, c7, c1, 0 /* Invalidate all I cache to PoU Inner Shareable */
|
||||
#else
|
||||
mcr p15, 0, r0, c7, c5, 0 /* Invalidate all I cache to PoU (ICIALLU) */
|
||||
#endif
|
||||
isb /* instruction synchronization barrier */
|
||||
dsb /* data synchronization barrier */
|
||||
RET
|
||||
|
|
|
|||
Loading…
Reference in a new issue