[PATCH 2/2] config: Fix _ISR_Stack_area_end

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Apr 6 17:57:47 UTC 2020


Update #3799.
---
 cpukit/include/rtems/confdefs/percpu.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cpukit/include/rtems/confdefs/percpu.h b/cpukit/include/rtems/confdefs/percpu.h
index 730571b54a..8ae848659c 100644
--- a/cpukit/include/rtems/confdefs/percpu.h
+++ b/cpukit/include/rtems/confdefs/percpu.h
@@ -96,11 +96,11 @@ RTEMS_DEFINE_GLOBAL_SYMBOL(
 char _ISR_Stack_area_begin[
   _CONFIGURE_MAXIMUM_PROCESSORS * CONFIGURE_INTERRUPT_STACK_SIZE
 ] RTEMS_ALIGNED( CPU_INTERRUPT_STACK_ALIGNMENT )
-RTEMS_SECTION( ".rtemsstack.interrupt.begin" );
+RTEMS_SECTION( ".rtemsstack.interrupt" );
 
-RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION(
+RTEMS_DEFINE_GLOBAL_SYMBOL(
   _ISR_Stack_area_end,
-  ".rtemsstack.interrupt.end"
+  RTEMS_SYMBOL_NAME( _ISR_Stack_area_begin ) + CONFIGURE_INTERRUPT_STACK_SIZE
 );
 
 /* Thread stack size configuration */
-- 
2.16.4



More information about the devel mailing list