summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/thread.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/score/src/thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c
index 8e924c65cf..a8032598d2 100644
--- a/cpukit/score/src/thread.c
+++ b/cpukit/score/src/thread.c
@@ -29,6 +29,7 @@
#include <rtems/score/threadq.h>
#include <rtems/score/userext.h>
#include <rtems/score/wkspace.h>
+#include <rtems/config.h>
/*PAGE
*
@@ -58,9 +59,8 @@ void _Thread_Handler_initialization(
* BOTH stacks hooks must be set or both must be NULL.
* Do not allow mixture.
*/
-
- if ( !( ( _CPU_Table.stack_allocate_hook == 0 )
- == ( _CPU_Table.stack_free_hook == 0 ) ) )
+ if ( !( (!_Configuration_Table->stack_allocate_hook)
+ == (!_Configuration_Table->stack_free_hook) ) )
_Internal_error_Occurred(
INTERNAL_ERROR_CORE,
TRUE,