From 56e61e24bd8cada5b25f6d4fdf433eed84f25204 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 20 Sep 2018 07:57:08 +0200 Subject: Remove INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL The configured interrupt stack size (CONFIGURE_INTERRUPT_STACK_SIZE) is checked against the minimum task stack size. The minium tasks task stack size is also a configuration option (CONFIGURE_MINIMUM_TASK_STACK_SIZE). So, this check does not really help in case of configuration errors. In addition, the interrupt stack is also re-used as the initialization stack in most BSPs. It is probably better to use a stack checker to detect problems. Update #3459. --- cpukit/score/src/isr.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cpukit/score/src') diff --git a/cpukit/score/src/isr.c b/cpukit/score/src/isr.c index 3bda275b07..6a1b307f42 100644 --- a/cpukit/score/src/isr.c +++ b/cpukit/score/src/isr.c @@ -47,10 +47,6 @@ void _ISR_Handler_initialization( void ) #endif stack_size = rtems_configuration_get_interrupt_stack_size(); - - if ( !_Stack_Is_enough( stack_size ) ) - _Internal_error( INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL ); - cpu_max = rtems_configuration_get_maximum_processors(); stack_low = _Configuration_Interrupt_stack_area_begin; -- cgit v1.2.3