Ignore:
Timestamp:
Jun 14, 2013, 12:00:38 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
ca63ae2
Parents:
a7ce0ce
git-author:
Sebastian Huber <sebastian.huber@…> (06/14/13 12:00:38)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/17/13 11:09:49)
Message:

smp: Add and use _CPU_SMP_Get_current_processor()

Add and use _SMP_Get_current_processor() and
rtems_smp_get_current_processor().

Delete bsp_smp_interrupt_cpu().

Change type of current processor index from int to uint32_t to match
_SMP_Processor_count type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/smpatomic01/tasks.c

    ra7ce0ce r39e51758  
    4040    )
    4141{
    42   int               cpu_num;
     42  uint32_t          cpu_num;
    4343  char              name[5];
    4444  char             *p;
     
    4949
    5050   /* Get the CPU Number */
    51   cpu_num = bsp_smp_processor_id();
     51  cpu_num = rtems_smp_get_current_processor();
    5252
    5353  /* Print that the task is up and running. */
Note: See TracChangeset for help on using the changeset viewer.