Sebastian Huber commented on a discussion on bsps/sparc/leon3/start/bspsmp.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1079#note_147564

 >  
 >    irq = LEON3_mp_irq;
 >  
 > -  bsp_interrupt_set_affinity( irq, _SMP_Get_online_processors() );
 > -
 > -  sc = rtems_interrupt_entry_install(
 > -    irq,
 > -    RTEMS_INTERRUPT_SHARED,
 > -    &leon3_inter_processor_interrupt_entry
 > -  );
 > +  sc = bsp_interrupt_set_affinity( irq, _SMP_Get_online_processors() );

Please remove this change MR. You can't add dead code in this area. The 
`bsp_interrupt_set_affinity( irq, _SMP_Get_online_processors() );` cannot fail. 
The assertion is sufficient.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1079#note_147564
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to