Changeset 4280dff7 in rtems for testsuites/smptests


Ignore:
Timestamp:
Jun 30, 2016, 9:01:05 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
4142f73
Parents:
4fe0e97f
Message:

smptests/smpstrongapa01: Simplify

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/smpstrongapa01/init.c

    r4fe0e97f r4280dff7  
    136136
    137137  for (i = 0; i < CPU_COUNT; ++i) {
    138     uint32_t one;
    139 
    140     one = 1;
    141 
    142     if ((cpu_set_32 & (one << i)) != 0) {
     138    if ((cpu_set_32 & (UINT32_C(1) << i)) != 0) {
    143139      CPU_SET(i, &cpu_set);
    144140    }
Note: See TracChangeset for help on using the changeset viewer.