[PATCH 4/4] bsp/leon3: Do not invalidate cache in SMP start

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Dec 10 13:38:34 UTC 2021


Since the trap table is now statically initialized, there is no need to
invalidate the instruction cache.
---
 bsps/sparc/leon3/start/bspsmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/sparc/leon3/start/bspsmp.c b/bsps/sparc/leon3/start/bspsmp.c
index 74f9df5404..acd932843a 100644
--- a/bsps/sparc/leon3/start/bspsmp.c
+++ b/bsps/sparc/leon3/start/bspsmp.c
@@ -105,7 +105,7 @@ void _CPU_SMP_Finalize_initialization( uint32_t cpu_count )
 
 void _CPU_SMP_Prepare_start_multitasking( void )
 {
-  rtems_cache_invalidate_entire_instruction();
+  /* Do nothing */
 }
 
 void _CPU_SMP_Send_interrupt(uint32_t target_processor_index)
-- 
2.26.2



More information about the devel mailing list