[PATCH 07/16] rtems: Remove rtems_get_processor_count()

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


This function was deprecated in RTEMS 5.1.

Close #3990.
---
 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 6580a209e1..12c323e60e 100644
--- a/cpukit/include/rtems/rtems/tasks.h
+++ b/cpukit/include/rtems/rtems/tasks.h
@@ -621,21 +621,6 @@ rtems_status_code rtems_scheduler_ident_by_processor_set(
  */
 #define rtems_scheduler_get_processor_maximum() _SMP_Get_processor_maximum()
 
-/**
- * @brief Returns the processor maximum supported by the system.
- *
- * @return The processor maximum supported by the system.
- *
- * @deprecated
- *
- * Use rtems_scheduler_get_processor_maximum() instead.
- */
-RTEMS_DEPRECATED RTEMS_INLINE_ROUTINE uint32_t
-rtems_get_processor_count( void )
-{
-  return rtems_scheduler_get_processor_maximum();
-}
-
 /**
  * @brief Gets the set of processors owned by the specified scheduler instance.
  *
-- 
2.26.2



More information about the devel mailing list