summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/rtems/score/thread.h')
-rw-r--r--cpukit/score/include/rtems/score/thread.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index d84310a9d2..ed5b475cd1 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -460,17 +460,13 @@ SCORE_EXTERN Context_Control _Thread_BSP_context;
* counter which is used to prevent context switches at inopportune
* moments.
*/
-#if defined(__AVR__)
-SCORE_EXTERN volatile uint8_t _Thread_Dispatch_disable_level;
-#else
SCORE_EXTERN volatile uint32_t _Thread_Dispatch_disable_level;
-#endif
/**
* If this is non-zero, then the post-task switch extension
* is run regardless of the state of the per thread flag.
*/
-SCORE_EXTERN bool _Thread_Do_post_task_switch_extension;
+SCORE_EXTERN uint32_t _Thread_Do_post_task_switch_extension;
/**
* The following holds how many user extensions are in the system. This