summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/threaddispatch.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-04 13:02:18 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-06 09:43:59 +0100
commit825cb1f1963df792957c552251df9f69453b8014 (patch)
tree5ac582e61bde01ee2041e63634f53508da78095d /cpukit/score/include/rtems/score/threaddispatch.h
parenttmtests/tm26: Fix deadlock for SMP configurations (diff)
downloadrtems-825cb1f1963df792957c552251df9f69453b8014.tar.bz2
score: Delete _Thread_Dispatch_set_disable_level()
This function was only used in some tests and can be replaced with other functions.
Diffstat (limited to '')
-rw-r--r--cpukit/score/include/rtems/score/threaddispatch.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/cpukit/score/include/rtems/score/threaddispatch.h b/cpukit/score/include/rtems/score/threaddispatch.h
index cf9b801af8..54786eb62b 100644
--- a/cpukit/score/include/rtems/score/threaddispatch.h
+++ b/cpukit/score/include/rtems/score/threaddispatch.h
@@ -121,14 +121,6 @@ RTEMS_INLINE_ROUTINE void _Thread_Dispatch_initialization( void )
void _Giant_Drop( uint32_t self_cpu );
/**
- * @brief Sets thread dispatch level to the value passed in.
- *
- * This routine sets thread dispatch level to the
- * value passed in.
- */
- uint32_t _Thread_Dispatch_set_disable_level(uint32_t value);
-
- /**
* @brief Increments the thread dispatch level.
*
* This rountine increments the thread dispatch level
@@ -143,18 +135,6 @@ RTEMS_INLINE_ROUTINE void _Thread_Dispatch_initialization( void )
uint32_t _Thread_Dispatch_decrement_disable_level(void);
#else /* RTEMS_SMP */
/**
- * @brief Set thread dispatch disable level.
- *
- * This routine sets thread dispatch level to the
- * value passed in.
- */
- RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_set_disable_level(uint32_t value)
- {
- _Thread_Dispatch_disable_level = value;
- return value;
- }
-
- /**
* @brief Increase thread dispatch disable level.
*
* This rountine increments the thread dispatch level