[rtems commit] score: Remove redundant #ifdef RTEMS_SMP

Sebastian Huber sebh at rtems.org
Wed Aug 29 05:53:37 UTC 2018


Module:    rtems
Branch:    master
Commit:    9e8bba5650c6bbdcccb4b3ed98b320f1b87454ff
Changeset: http://git.rtems.org/rtems/commit/?id=9e8bba5650c6bbdcccb4b3ed98b320f1b87454ff

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Aug 29 07:53:02 2018 +0200

score: Remove redundant #ifdef RTEMS_SMP

---

 cpukit/include/rtems/score/threadimpl.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/cpukit/include/rtems/score/threadimpl.h b/cpukit/include/rtems/score/threadimpl.h
index 7966e89..4ab855d 100644
--- a/cpukit/include/rtems/score/threadimpl.h
+++ b/cpukit/include/rtems/score/threadimpl.h
@@ -1079,9 +1079,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Scheduler_release_critical(
   _ISR_lock_Release( &the_thread->Scheduler.Lock, lock_context );
 }
 
-#if defined(RTEMS_SMP)
 void _Thread_Scheduler_process_requests( Thread_Control *the_thread );
-#endif
 
 RTEMS_INLINE_ROUTINE void _Thread_Scheduler_add_request(
   Thread_Control         *the_thread,



More information about the vc mailing list