[rtems commit] rtems: Remove rtems_get_current_processor()

Sebastian Huber sebh at rtems.org
Tue Jul 14 05:26:19 UTC 2020


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu May 28 15:29:43 2020 +0200

rtems: Remove rtems_get_current_processor()

This function was deprecated in RTEMS 5.1.

Close #3989.

---

 cpukit/include/rtems/rtems/tasks.h | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/cpukit/include/rtems/rtems/tasks.h b/cpukit/include/rtems/rtems/tasks.h
index a4af236..6580a20 100644
--- a/cpukit/include/rtems/rtems/tasks.h
+++ b/cpukit/include/rtems/rtems/tasks.h
@@ -604,21 +604,6 @@ rtems_status_code rtems_scheduler_ident_by_processor_set(
 #define rtems_scheduler_get_processor() _SMP_Get_current_processor()
 
 /**
- * @brief Returns the index of the current processor.
- *
- * @return The index of the current processor.
- *
- * @deprecated
- *
- * Use rtems_scheduler_get_processor() instead.
- */
-RTEMS_DEPRECATED RTEMS_INLINE_ROUTINE uint32_t
-rtems_get_current_processor( void )
-{
-  return rtems_scheduler_get_processor();
-}
-
-/**
  * @brief Returns the processor maximum supported by the system.
  *
  * In uniprocessor configurations, a value of one will be returned.



More information about the vc mailing list