[PATCH 02/10] score: Remove bogus _ISR_Nest_level setting

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jun 23 06:49:28 UTC 2021


This variable is actually contained in _Per_CPU_Information[] which is already
zero initialized.

Remove superfluous includes.
---
 cpukit/score/src/isr.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/cpukit/score/src/isr.c b/cpukit/score/src/isr.c
index 09b1f37faa..28a6b3082e 100644
--- a/cpukit/score/src/isr.c
+++ b/cpukit/score/src/isr.c
@@ -22,9 +22,7 @@
 
 #include <rtems/score/isr.h>
 #include <rtems/score/address.h>
-#include <rtems/score/interr.h>
 #include <rtems/score/percpu.h>
-#include <rtems/score/stackimpl.h>
 #include <rtems/config.h>
 
 #if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
@@ -42,8 +40,6 @@ void _ISR_Handler_initialization( void )
   size_t    stack_size;
   char     *stack_low;
 
-  _ISR_Nest_level = 0;
-
   stack_size = rtems_configuration_get_interrupt_stack_size();
   cpu_max = rtems_configuration_get_maximum_processors();
   stack_low = _ISR_Stack_area_begin;
-- 
2.26.2



More information about the devel mailing list