summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/scheduler.h9
-rw-r--r--cpukit/score/include/rtems/score/schedulersimple.h14
-rw-r--r--cpukit/score/include/rtems/score/schedulersimplesmp.h3
3 files changed, 11 insertions, 15 deletions
diff --git a/cpukit/score/include/rtems/score/scheduler.h b/cpukit/score/include/rtems/score/scheduler.h
index deefd9de01..a34387d8c7 100644
--- a/cpukit/score/include/rtems/score/scheduler.h
+++ b/cpukit/score/include/rtems/score/scheduler.h
@@ -149,6 +149,15 @@ void _Scheduler_default_Free(
* @brief Does nothing.
*
* @param[in] thread Unused.
+ */
+void _Scheduler_default_Update(
+ Thread_Control *the_thread
+);
+
+/**
+ * @brief Does nothing.
+ *
+ * @param[in] thread Unused.
* @param[in] deadline Unused.
*/
void _Scheduler_default_Release_job(
diff --git a/cpukit/score/include/rtems/score/schedulersimple.h b/cpukit/score/include/rtems/score/schedulersimple.h
index 97c9e84f7f..5180d36087 100644
--- a/cpukit/score/include/rtems/score/schedulersimple.h
+++ b/cpukit/score/include/rtems/score/schedulersimple.h
@@ -44,7 +44,7 @@ extern "C" {
_Scheduler_simple_Unblock, /* unblock entry point */ \
_Scheduler_default_Allocate, /* allocate entry point */ \
_Scheduler_default_Free, /* free entry point */ \
- _Scheduler_simple_Update, /* update entry point */ \
+ _Scheduler_default_Update, /* update entry point */ \
_Scheduler_simple_Enqueue, /* enqueue entry point */ \
_Scheduler_simple_Enqueue_first, /* enqueue_first entry point */ \
_Scheduler_simple_Extract, /* extract entry point */ \
@@ -150,18 +150,6 @@ void _Scheduler_simple_Enqueue_first(
);
/**
- * @brief Stub for simple schedule update.
- *
- * This routine does nothing, and is used as a stub for Schedule update
- * The overhead of a function call will still be imposed.
- *
- * @param[in] the_thread is the thread to be blocked
- */
-void _Scheduler_simple_Update(
- Thread_Control *the_thread
-);
-
-/**
* _Scheduler_simple_Ready_queue_enqueue
*
* This routine puts @a the_thread on the ready queue
diff --git a/cpukit/score/include/rtems/score/schedulersimplesmp.h b/cpukit/score/include/rtems/score/schedulersimplesmp.h
index 20462ebe74..1b827cbabe 100644
--- a/cpukit/score/include/rtems/score/schedulersimplesmp.h
+++ b/cpukit/score/include/rtems/score/schedulersimplesmp.h
@@ -24,7 +24,6 @@ extern "C" {
#endif
#include <rtems/score/scheduler.h>
-#include <rtems/score/schedulersimple.h>
#include <rtems/score/schedulerpriority.h>
/**
@@ -66,7 +65,7 @@ typedef struct {
_Scheduler_simple_smp_Enqueue_priority_fifo, \
_Scheduler_default_Allocate, \
_Scheduler_default_Free, \
- _Scheduler_simple_Update, \
+ _Scheduler_default_Update, \
_Scheduler_simple_smp_Enqueue_priority_fifo, \
_Scheduler_simple_smp_Enqueue_priority_lifo, \
_Scheduler_simple_smp_Extract, \