Ignore:
Timestamp:
Jun 28, 2011, 8:39:39 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
b6afcb6
Parents:
c5a4332
Message:

2011-06-28 Joel Sherrill <joel.sherrill@…>

PR 1826/cpukit

  • libmisc/cpuuse/cpuusagereport.c, rtems/Makefile.am, rtems/preinstall.am, rtems/include/rtems.h: Add SMP Helper methods to Classic API.
  • rtems/include/rtems/rtems/smp.h: New file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/cpuuse/cpuusagereport.c

    rc5a4332 r2f96c1eb  
    5050    #else
    5151      int  cpu;
    52       for ( cpu=0 ; cpu < _SMP_Processor_count ; cpu++ ) {
     52      for ( cpu=0 ; cpu < rtems_smp_get_number_of_processors() ; cpu++ ) {
    5353        Per_CPU_Control *p = &_Per_CPU_Information[cpu];
    5454        if ( p->executing->Object.id == the_thread->Object.id ) {
Note: See TracChangeset for help on using the changeset viewer.