Changeset 51614bd5 in rtems


Ignore:
Timestamp:
Feb 15, 2020, 10:14:32 AM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
5b8d80d7
Parents:
1ada3e55
git-author:
Sebastian Huber <sebastian.huber@…> (02/15/20 10:14:32)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/25/20 06:18:35)
Message:

bsps/clock: Use _SMP_Get_processor_maximum()

Use a specific test to enable the fast idle mode instead of using the
rtems_configuration_is_smp_enabled() workaround.

Update #3876.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/shared/dev/clock/clockimpl.h

    r1ada3e55 r51614bd5  
    151151      Clock_driver_timecounter_tick();
    152152
    153       if (!rtems_configuration_is_smp_enabled()) {
     153      if (_SMP_Get_processor_maximum() == 1) {
    154154        while (
    155155          _Thread_Heir == _Thread_Executing && _Thread_Executing->is_idle
Note: See TracChangeset for help on using the changeset viewer.