[rtems commit] rtems: Remove rtems_get_processor_count()

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


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

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

rtems: Remove rtems_get_processor_count()

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 6580a20..12c323e 100644
--- a/cpukit/include/rtems/rtems/tasks.h
+++ b/cpukit/include/rtems/rtems/tasks.h
@@ -622,21 +622,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.
  *
  * @param[in] scheduler_id Identifier of the scheduler instance.



More information about the vc mailing list