dev/irq: Add BSP_IRQ_HAVE_GET_SET_AFFINITY

Allow BSPs to provide the interrupt get/set affinity implementation even for
non-SMP configurations.
This commit is contained in:
Sebastian Huber
2024-09-19 07:43:31 +02:00
parent 2c2f9a1451
commit a947bba9df
4 changed files with 8 additions and 4 deletions

View File

@@ -343,7 +343,7 @@ rtems_status_code arm_gic_irq_get_group(
return sc;
}
#ifdef RTEMS_SMP
#if defined(BSP_IRQ_HAVE_GET_SET_AFFINITY)
rtems_status_code bsp_interrupt_set_affinity(
rtems_vector_number vector,
const Processor_mask *affinity