mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265036
@ -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 New Issue
Block a user