[PATCH 2/6] nios2: Make _ISR_Is_in_progress() weak
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Jan 27 09:13:31 UTC 2021
This allows the BSP to override this function.
---
cpukit/score/cpu/nios2/nios2-isr-is-in-progress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/score/cpu/nios2/nios2-isr-is-in-progress.c b/cpukit/score/cpu/nios2/nios2-isr-is-in-progress.c
index 17eb8958a6..cb6ddb8c6a 100644
--- a/cpukit/score/cpu/nios2/nios2-isr-is-in-progress.c
+++ b/cpukit/score/cpu/nios2/nios2-isr-is-in-progress.c
@@ -20,7 +20,7 @@
#include <rtems/score/nios2-utility.h>
#include <rtems/score/percpu.h>
-bool _ISR_Is_in_progress( void )
+RTEMS_WEAK bool _ISR_Is_in_progress( void )
{
if ( _Nios2_Has_internal_interrupt_controller() ) {
return _ISR_Nest_level != 0;
--
2.26.2
More information about the devel
mailing list