summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/rtems')
-rw-r--r--cpukit/score/include/rtems/score/schedulersmpimpl.h3
-rw-r--r--cpukit/score/include/rtems/score/thread.h8
-rw-r--r--cpukit/score/include/rtems/score/threadimpl.h13
3 files changed, 0 insertions, 24 deletions
diff --git a/cpukit/score/include/rtems/score/schedulersmpimpl.h b/cpukit/score/include/rtems/score/schedulersmpimpl.h
index f2c9919d6b..ae1941aa43 100644
--- a/cpukit/score/include/rtems/score/schedulersmpimpl.h
+++ b/cpukit/score/include/rtems/score/schedulersmpimpl.h
@@ -472,9 +472,6 @@ static inline void _Scheduler_SMP_Allocate_processor_lazy(
);
} else {
/* We have to force a migration to our processor set */
- _Assert(
- scheduled_thread->Scheduler.debug_real_cpu->heir != scheduled_thread
- );
heir = scheduled_thread;
}
} else {
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index 44080f3a82..6104ba03d7 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -672,14 +672,6 @@ typedef struct {
* @brief The processor assigned by the current scheduler.
*/
struct Per_CPU_Control *cpu;
-
-#if defined(RTEMS_DEBUG)
- /**
- * @brief The processor on which this thread executed the last time or is
- * executing.
- */
- struct Per_CPU_Control *debug_real_cpu;
-#endif
#endif
} Thread_Scheduler_control;
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h
index 965b2d190c..2e335396bb 100644
--- a/cpukit/score/include/rtems/score/threadimpl.h
+++ b/cpukit/score/include/rtems/score/threadimpl.h
@@ -1658,19 +1658,6 @@ RTEMS_INLINE_ROUTINE void _Thread_Remove_timer_and_unblock(
#endif
}
-RTEMS_INLINE_ROUTINE void _Thread_Debug_set_real_processor(
- Thread_Control *the_thread,
- Per_CPU_Control *cpu
-)
-{
-#if defined(RTEMS_SMP) && defined(RTEMS_DEBUG)
- the_thread->Scheduler.debug_real_cpu = cpu;
-#else
- (void) the_thread;
- (void) cpu;
-#endif
-}
-
/** @}*/
#ifdef __cplusplus