[PATCH 06/16] rtems: Remove rtems_get_current_processor()

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Jul 13 06:51:52 UTC 2020


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 a4af236b6b..6580a209e1 100644
--- a/cpukit/include/rtems/rtems/tasks.h
+++ b/cpukit/include/rtems/rtems/tasks.h
@@ -603,21 +603,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.
  *
-- 
2.26.2



More information about the devel mailing list