Changeset 5c332349 in rtems


Ignore:
Timestamp:
Mar 7, 2014, 3:06:57 PM (6 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, master
Children:
e6c87f7
Parents:
2ef0328
git-author:
Jennifer Averett <jennifer.averett@…> (03/07/14 15:06:57)
git-committer:
Jennifer Averett <jennifer.averett@…> (03/07/14 15:15:15)
Message:

Remove trailing whitespace in previous patches

Files:
24 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/Makefile.am

    r2ef0328 r5c332349  
    142142
    143143## RTEMS specific support methods
    144 libposix_a_SOURCES += src/pthreadattrcompare.c 
     144libposix_a_SOURCES += src/pthreadattrcompare.c
    145145
    146146if HAS_SMP
    147 ## PTHREAD_AFFINITY_C_FILES 
     147## PTHREAD_AFFINITY_C_FILES
    148148libposix_a_SOURCES += src/pthreadattrsetaffinitynp.c \
    149149    src/pthreadattrgetaffinitynp.c  src/pthreadgetaffinitynp.c   \
  • cpukit/posix/include/rtems/posix/pthreadimpl.h

    r2ef0328 r5c332349  
    9090 * structure to copy from.
    9191 */
    92 RTEMS_INLINE_ROUTINE void _POSIX_Threads_Copy_attributes( 
     92RTEMS_INLINE_ROUTINE void _POSIX_Threads_Copy_attributes(
    9393  pthread_attr_t        *dst_attr,
    9494  const pthread_attr_t  *src_attr
     
    133133 * This routine initializes the thread attributes structure.
    134134 */
    135 RTEMS_INLINE_ROUTINE void _POSIX_Threads_Initialize_attributes( 
    136   pthread_attr_t  *attr 
     135RTEMS_INLINE_ROUTINE void _POSIX_Threads_Initialize_attributes(
     136  pthread_attr_t  *attr
    137137);
    138138
     
    211211  const pthread_attr_t *attr2
    212212);
    213  
     213
    214214/*
    215215 *  _POSIX_Threads_Allocate
     
    225225 */
    226226
    227 RTEMS_INLINE_ROUTINE void _POSIX_Threads_Copy_attributes( 
     227RTEMS_INLINE_ROUTINE void _POSIX_Threads_Copy_attributes(
    228228  pthread_attr_t        *dst_attr,
    229229  const pthread_attr_t  *src_attr
     
    232232  *dst_attr = *src_attr;
    233233#if defined(__RTEMS_HAVE_SYS_CPUSET_H__)
    234   _Assert( 
     234  _Assert(
    235235    dst_attr->affinitysetsize == sizeof(dst_attr->affinitysetpreallocated)
    236236  );
    237237  dst_attr->affinityset = &dst_attr->affinitysetpreallocated;
    238238#endif
    239 } 
     239}
    240240
    241241/*
     
    267267 */
    268268
    269 RTEMS_INLINE_ROUTINE void _POSIX_Threads_Initialize_attributes( 
    270   pthread_attr_t  *attr 
     269RTEMS_INLINE_ROUTINE void _POSIX_Threads_Initialize_attributes(
     270  pthread_attr_t  *attr
    271271)
    272272{
     
    275275    &_POSIX_Threads_Default_attributes
    276276  );
    277 } 
     277}
    278278
    279279/*
  • cpukit/posix/src/pthread.c

    r2ef0328 r5c332349  
    373373    CPU_ZERO_S( attr->affinitysetsize, &attr->affinitysetpreallocated );
    374374
    375     for (i=0; i<max_cpus; i++) 
     375    for (i=0; i<max_cpus; i++)
    376376      CPU_SET_S(i, attr->affinitysetsize, attr->affinityset );
    377377  #endif
  • cpukit/posix/src/pthreadattrcompare.c

    r2ef0328 r5c332349  
    4949
    5050  if (memcmp(
    51     &attr1->schedparam, 
    52     &attr2->schedparam, 
     51    &attr1->schedparam,
     52    &attr2->schedparam,
    5353    sizeof(struct sched_param)
    5454  ))
     
    7272      return 1;
    7373
    74     if (!CPU_EQUAL_S( 
    75       attr1->affinitysetsize, 
    76       attr1->affinityset, 
     74    if (!CPU_EQUAL_S(
     75      attr1->affinitysetsize,
     76      attr1->affinityset,
    7777      attr2->affinityset
    7878    ))
     
    8080
    8181    if (!CPU_EQUAL_S(
    82       attr1->affinitysetsize, 
    83       &attr1->affinitysetpreallocated, 
     82      attr1->affinitysetsize,
     83      &attr1->affinitysetpreallocated,
    8484      &attr2->affinitysetpreallocated
    8585    ))
  • cpukit/posix/src/pthreadattrsetaffinitynp.c

    r2ef0328 r5c332349  
    4646  if ( error != 0 )
    4747    return EINVAL;
    48  
     48
    4949  CPU_COPY( attr->affinityset, cpuset );
    5050
  • cpukit/posix/src/pthreadgetaffinitynp.c

    r2ef0328 r5c332349  
    4242  if ( !cpuset )
    4343    return EFAULT;
    44  
     44
    4545  the_thread = _Thread_Get( id, &location );
    4646  switch ( location ) {
  • cpukit/posix/src/pthreadsetaffinitynp.c

    r2ef0328 r5c332349  
    4646  if ( error != 0 )
    4747    return EINVAL;
    48    
     48
    4949  the_thread = _Thread_Get( id, &location );
    5050  switch ( location ) {
  • cpukit/rtems/include/rtems/rtems/tasks.h

    r2ef0328 r5c332349  
    495495 *  @brief RTEMS Get Task Affinity
    496496 *
    497  *  This directive returns the cpuset for the 
     497 *  This directive returns the cpuset for the
    498498 *  given task.  The cpuset size must be the
    499499 *  same size as the task affinity set size.
     
    503503 * @param[out] cpuset is the tasks affinity cpuset
    504504 *
    505  * @retval RTEMS_SUCCESSFUL if successful or error code if unsuccessful 
     505 * @retval RTEMS_SUCCESSFUL if successful or error code if unsuccessful
    506506 * @retval RTEMS_INVALID_ADDRESS if cpuset is NULL
    507507 * @retval RTEMS_INVALID_NUMBER if cpusetsize is incorrect
    508  * @retval RTEMS_INVALID_ID if id not valid 
    509  */ 
     508 * @retval RTEMS_INVALID_ID if id not valid
     509 */
    510510rtems_status_code rtems_task_get_affinity(
    511511  rtems_id             id,
    512512  size_t               cpusetsize,
    513   cpu_set_t           *cpuset 
     513  cpu_set_t           *cpuset
    514514);
    515515
     
    517517 *  @brief RTEMS Set Task Affinity
    518518 *
    519  *  This directive sets the given tasks 
     519 *  This directive sets the given tasks
    520520 *  affinity cpuset.
    521521 *
     
    524524 * @param[in] cpuset is affinity set to assign to the task
    525525 *
    526  * @retval RTEMS_SUCCESSFUL if successful or error code if unsuccessful 
     526 * @retval RTEMS_SUCCESSFUL if successful or error code if unsuccessful
    527527 * @retval RTEMS_INVALID_ADDRESS if cpuset is NULL
    528  * @retval RTEMS_INVALID_NUMBER if cpuset or cpusetsize is incorrect 
    529  * @retval RTEMS_INVALID_ID if id not valid 
    530  */ 
     528 * @retval RTEMS_INVALID_NUMBER if cpuset or cpusetsize is incorrect
     529 * @retval RTEMS_INVALID_ID if id not valid
     530 */
    531531rtems_status_code rtems_task_set_affinity(
    532532  rtems_id             id,
    533533  size_t               cpusetsize,
    534   cpu_set_t           *cpuset 
     534  cpu_set_t           *cpuset
    535535);
    536536#endif
  • cpukit/rtems/src/taskgetaffinity.c

    r2ef0328 r5c332349  
    2828  rtems_id             id,
    2929  size_t               cpusetsize,
    30   cpu_set_t           *cpuset 
     30  cpu_set_t           *cpuset
    3131)
    3232{
  • cpukit/rtems/src/tasksetaffinity.c

    r2ef0328 r5c332349  
    2828  rtems_id             id,
    2929  size_t               cpusetsize,
    30   cpu_set_t           *cpuset 
     30  cpu_set_t           *cpuset
    3131)
    3232{
  • cpukit/score/include/rtems/score/cpuset.h

    r2ef0328 r5c332349  
    55 *
    66 *  This include file contains all information about the thread
    7  *  CPU Set. 
     7 *  CPU Set.
    88 */
    99
     
    2727
    2828#ifdef __RTEMS_HAVE_SYS_CPUSET_H__
    29  
     29
    3030/**
    3131 *  @defgroup ScoreCpuset
     
    4242 *  The names do not include affinity in the front in case the set is
    4343 *  ever used for something other than affinity.  The usage in thread
    44  *  uses the attribute affinity such that accesses will read 
     44 *  uses the attribute affinity such that accesses will read
    4545 *  thread->affinity.set.
    4646 */
  • cpukit/score/include/rtems/score/thread.h

    r2ef0328 r5c332349  
    423423   */
    424424  CPU_set_Control                       affinity;
    425 #endif 
     425#endif
    426426#endif
    427427
  • cpukit/score/src/cpuset.c

    r2ef0328 r5c332349  
    4747  CPU_ZERO_S( cpuset_default.setsize, &cpuset_default.preallocated );
    4848
    49   for (i=0; i<max_cpus; i++) 
     49  for (i=0; i<max_cpus; i++)
    5050    CPU_SET_S(i, cpuset_default.setsize, cpuset_default.set );
    5151}
     
    8686 * This routine returns the default cpuset.
    8787 */
    88 const CPU_set_Control *_CPU_set_Default() 
     88const CPU_set_Control *_CPU_set_Default()
    8989{
    9090  return &cpuset_default;
  • cpukit/score/src/cpusetprintsupport.c

    r2ef0328 r5c332349  
    3232    void                  *context,
    3333    rtems_printk_plugin_t  print,
    34     const char            *description, 
     34    const char            *description,
    3535    const cpu_set_t       *cpuset
    3636  );
     
    4545    void                  *context,
    4646    rtems_printk_plugin_t  print,
    47     const char            *description, 
     47    const char            *description,
    4848    const cpu_set_t       *cpuset
    4949  )
     
    8080    const CPU_set_Control *ctl;
    8181    ctl = _CPU_set_Default();
    82     _CPU_set_Show( description, ctl->set ); 
     82    _CPU_set_Show( description, ctl->set );
    8383  }
    8484#endif
  • testsuites/psxtests/psxgetattrnp01/init.c

    r2ef0328 r5c332349  
    4646  rtems_test_assert( ! rtems_pthread_attribute_compare(&attr, &Thread_attr) );
    4747
    48   param.sched_priority = max_priority; 
     48  param.sched_priority = max_priority;
    4949
    5050  puts( "Thread - pthread_setschedparam: Setting highest priority SCHED_FIFO" );
     
    5555  sc = pthread_detach( Thread_id );
    5656  rtems_test_assert( !sc );
    57  
     57
    5858  puts("Thread - pthread_getattr_np");
    5959  sc = pthread_getattr_np( Thread_id, &attr );
    6060  rtems_test_assert( !sc );
    61  
     61
    6262  puts("Thread - Verify SCHED_FIFO policy");
    6363  sc = pthread_attr_getschedpolicy( &attr, &value );
     
    9090  puts( "\n\n*** POSIX ATTRIBUTE TEST 1 ***" );
    9191
    92   /* Initialize thread id */ 
     92  /* Initialize thread id */
    9393  Init_id = pthread_self();
    9494  max_priority = sched_get_priority_max( SCHED_FIFO );
     
    107107  sc = pthread_attr_init(&Thread_attr);
    108108  rtems_test_assert(!sc);
    109  
     109
    110110  puts("Init - pthread_attr_setinheritsched - PTHREAD_EXPLICIT_SCHED");
    111111  sc = pthread_attr_setinheritsched( &Thread_attr, PTHREAD_EXPLICIT_SCHED );
    112112  rtems_test_assert(!sc);
    113113  rtems_test_assert( Thread_attr.inheritsched == PTHREAD_EXPLICIT_SCHED );
    114  
     114
    115115  puts("Init - pthread_attr_setschedpolicy to SCHED_RR");
    116116  sc = pthread_attr_setschedpolicy(&Thread_attr, SCHED_RR);
    117117  rtems_test_assert(!sc);
    118  
     118
    119119  puts("Init - pthread_attr_setschedparam to minimum priority + 2");
    120120  param.sched_priority = sched_get_priority_min( SCHED_RR ) + 2;
    121121  sc = pthread_attr_setschedparam( &Thread_attr, &param );
    122122  rtems_test_assert(!sc);
    123  
     123
    124124  puts("Init - pthread_attr_getstack");
    125125  sc = pthread_attr_getstack( &Thread_attr, &stackaddr, &stacksize );
     
    182182#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
    183183
    184 #define CONFIGURE_MAXIMUM_POSIX_THREADS  2 
     184#define CONFIGURE_MAXIMUM_POSIX_THREADS  2
    185185
    186186#define CONFIGURE_POSIX_INIT_THREAD_TABLE
  • testsuites/smptests/Makefile.am

    r2ef0328 r5c332349  
    11ACLOCAL_AMFLAGS = -I ../aclocal
    22
    3 SUBDIRS = 
     3SUBDIRS =
    44
    55if SMPTESTS
  • testsuites/smptests/smpaffinity01/init.c

    r2ef0328 r5c332349  
    4242  CPU_FILL(&cpuset);
    4343  puts( "Init - rtems_task_set_affinity - Invalid cpu - RTEMS_INVALID_NUMBER" );
    44   sc = rtems_task_set_affinity( Init_id, sizeof(cpu_set_t), &cpuset ); 
    45   rtems_test_assert( sc == RTEMS_INVALID_NUMBER );
    46  
     44  sc = rtems_task_set_affinity( Init_id, sizeof(cpu_set_t), &cpuset );
     45  rtems_test_assert( sc == RTEMS_INVALID_NUMBER );
     46
    4747  /* Verify rtems_task_set_affinity checks that at least one cpu is set */
    4848  CPU_ZERO(&cpuset);
    4949  puts( "Init - rtems_task_set_affinity - no cpu - RTEMS_INVALID_NUMBER" );
    50   sc = rtems_task_set_affinity( Init_id, sizeof(cpu_set_t), &cpuset ); 
     50  sc = rtems_task_set_affinity( Init_id, sizeof(cpu_set_t), &cpuset );
    5151  rtems_test_assert( sc == RTEMS_INVALID_NUMBER );
    5252
     
    5656  sc = rtems_task_set_affinity( 999, sizeof(cpu_set_t), &cpuset );
    5757  rtems_test_assert( sc == RTEMS_INVALID_ID );
    58  
     58
    5959  /* Verify rtems_task_set_affinity validates cpusetsize */
    6060  puts( "Init - rtems_task_set_affinity - Invalid cpusetsize - RTEMS_INVALID_NUMBER" );
     
    6868}
    6969
    70 void Validate_getaffinity_errors(void) 
     70void Validate_getaffinity_errors(void)
    7171{
    7272  int                 sc;
     
    7878  sc = rtems_task_get_affinity( 999, sizeof(cpu_set_t), &cpuset );
    7979  rtems_test_assert( sc == RTEMS_INVALID_ID );
    80  
     80
    8181  /* Verify rtems_task_get_affinity validates cpusetsize */
    82   puts( 
     82  puts(
    8383    "Init - rtems_task_get_affinity - Invalid cpusetsize - RTEMS_INVALID_NUMBER"
    8484  );
     
    9999  uint32_t             i;
    100100  int                  sc;
    101   int                  cpu_count; 
     101  int                  cpu_count;
    102102  rtems_task_priority  priority;
    103103  char                 ch[2];
    104  
    105  
     104
     105
    106106  puts( "Init - Set Init priority to high");
    107107  sc = rtems_task_set_priority( Init_id, 1, &priority );
     
    110110  sc = rtems_task_get_affinity( Init_id, sizeof(cpu_set_t), &cpuset0 );
    111111  directive_failed( sc, "Get Affinity of Init Task" );
    112  
     112
    113113  /* Get the number of processors that we are using. */
    114114  cpu_count = rtems_smp_get_processor_count();
     
    130130    sc = rtems_task_start( Med_id[i], Task_1, i+1 );
    131131    directive_failed( sc, "task start" );
    132    
     132
    133133    sc = rtems_task_get_affinity( Med_id[i], sizeof(cpu_set_t), &cpuset2 );
    134134    directive_failed( sc, "Get Affinity of Medium Priority Task" );
     
    136136  }
    137137
    138   /* 
    139    * Create low priority thread for each remaining cpu with the affinity 
     138  /*
     139   * Create low priority thread for each remaining cpu with the affinity
    140140   * set to only run on one cpu.
    141141   */
     
    191191    directive_failed( sc, "Low priority task set affinity" );
    192192  }
    193  
     193
    194194  puts("Init - Validate affinity on Low priority tasks");
    195195  CPU_COPY(&cpuset1, &cpuset0);
     
    212212  puts( "\n\n*** SMP AFFINITY 1 ***" );
    213213
    214   /* Initialize thread id */ 
     214  /* Initialize thread id */
    215215  sc = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &Init_id );
    216216  directive_failed( sc, "Identify Init Task" );
    217  
     217
    218218  Validate_setaffinity_errors();
    219219  Validate_getaffinity_errors();
    220220  Validate_affinity();
    221  
     221
    222222  puts( "*** END OF SMP AFFINITY TEST 1 ***" );
    223223  rtems_test_exit(0);
  • testsuites/smptests/smppsxaffinity01/init.c

    r2ef0328 r5c332349  
    3131void Validate_attr(void);
    3232
    33 void Validate_attrgetaffinity_errors(void) 
     33void Validate_attrgetaffinity_errors(void)
    3434{
    3535  int                 sc;
     
    5454}
    5555
    56 void Validate_attrsetaffinity_errors(void) 
     56void Validate_attrsetaffinity_errors(void)
    5757{
    5858  int                 sc;
     
    106106
    107107  cpus = rtems_smp_get_processor_count();
    108   puts( 
     108  puts(
    109109    "Init - Validate pthread_attr_setaffinity_np and "
    110110    "pthread_attr_getaffinity_np"
    111111  );
    112  
     112
    113113  /* Set each cpu seperately in the affinity set */
    114114  for ( i=0; i<cpus; i++ ){
     
    121121    sc = pthread_attr_getaffinity_np( &attr, sizeof(cpu_set_t), &cpuset2 );
    122122    rtems_test_assert( sc == 0 );
    123    
     123
    124124    rtems_test_assert( CPU_EQUAL(&cpuset1, &cpuset2) );
    125125  }
     
    132132  puts( "\n\n*** SMP POSIX AFFINITY ATTRIBUTE TEST 1 ***" );
    133133
    134   /* Initialize thread id */ 
     134  /* Initialize thread id */
    135135  Init_id = pthread_self();
    136136
     
    138138  Validate_attrgetaffinity_errors();
    139139  Validate_attr();
    140  
     140
    141141  puts( "*** END OF SMP POSIX AFFINITY ATTRIBUTE TEST 1 ***" );
    142142  rtems_test_exit(0);
  • testsuites/smptests/smppsxaffinity02/init.c

    r2ef0328 r5c332349  
    4747  CPU_FILL(&cpuset);
    4848  puts( "Init - pthread_setaffinity_np - Invalid cpu - EINVAL" );
    49   sc = pthread_setaffinity_np( Init_id, sizeof(cpu_set_t), &cpuset ); 
    50   rtems_test_assert( sc == EINVAL );
    51  
     49  sc = pthread_setaffinity_np( Init_id, sizeof(cpu_set_t), &cpuset );
     50  rtems_test_assert( sc == EINVAL );
     51
    5252  /* Verify pthread_setaffinity_np checks that at least one cpu is set */
    5353  CPU_ZERO(&cpuset);
    5454  puts( "Init - pthread_setaffinity_np - no cpu - EINVAL" );
    55   sc = pthread_setaffinity_np( Init_id, sizeof(cpu_set_t), &cpuset ); 
     55  sc = pthread_setaffinity_np( Init_id, sizeof(cpu_set_t), &cpuset );
    5656  rtems_test_assert( sc == EINVAL );
    5757
     
    6161  sc = pthread_setaffinity_np( 999, sizeof(cpu_set_t), &cpuset );
    6262  rtems_test_assert( sc == ESRCH );
    63  
     63
    6464  /* Verify pthread_setaffinity_np validates cpusetsize */
    6565  puts( "Init - pthread_setaffinity_np - Invalid cpusetsize - EINVAL" );
     
    7373}
    7474
    75 void Validate_getaffinity_errors(void) 
     75void Validate_getaffinity_errors(void)
    7676{
    7777  int                 sc;
     
    8383  sc = pthread_getaffinity_np( 999, sizeof(cpu_set_t), &cpuset );
    8484  rtems_test_assert( sc == ESRCH );
    85  
     85
    8686  /* Verify pthread_getaffinity_np validates cpusetsize */
    8787  puts( "Init - pthread_getaffinity_np - Invalid cpusetsize - EINVAL" );
     
    103103  uint32_t             i;
    104104  int                  sc;
    105   int                  cpu_count; 
     105  int                  cpu_count;
    106106  struct sched_param   param;
    107  
    108  
     107
     108
    109109  puts( "Init - Set Init priority to high");
    110110  sc = pthread_getattr_np( Init_id, &attr );
     
    118118  sc = pthread_getaffinity_np( Init_id, sizeof(cpu_set_t), &cpuset0 );
    119119  rtems_test_assert( !sc );
    120  
     120
    121121  /* Get the number of processors that we are using. */
    122122  cpu_count = rtems_smp_get_processor_count();
     
    136136  }
    137137
    138   /* 
    139    * Create low priority thread for each remaining cpu with the affinity 
     138  /*
     139   * Create low priority thread for each remaining cpu with the affinity
    140140   * set to only run on one cpu.
    141141   */
     
    178178    rtems_test_assert( !sc );
    179179  }
    180  
     180
    181181  puts("Init - Validate affinity on Low priority tasks");
    182182  CPU_COPY(&cpuset1, &cpuset0);
     
    199199  puts( "\n\n*** SMP POSIX AFFINITY ATTRIBUTE TEST 2 ***" );
    200200
    201   /* Initialize thread id */ 
     201  /* Initialize thread id */
    202202  Init_id = pthread_self();
    203  
     203
    204204  Validate_setaffinity_errors();
    205205  Validate_getaffinity_errors();
    206206  Validate_affinity();
    207  
     207
    208208  puts( "*** SMP POSIX AFFINITY ATTRIBUTE TEST 2 ***" );
    209209  rtems_test_exit(0);
     
    231231#define CONFIGURE_SMP_MAXIMUM_PROCESSORS NUM_CPUS
    232232
    233 #define CONFIGURE_MAXIMUM_POSIX_THREADS (NUM_CPUS*2) 
     233#define CONFIGURE_MAXIMUM_POSIX_THREADS (NUM_CPUS*2)
    234234
    235235#define CONFIGURE_POSIX_INIT_THREAD_TABLE
  • testsuites/sptests/spcpuset01/init.c

    r2ef0328 r5c332349  
    8080  CPU_ZERO(&set1);
    8181  CPU_SET(cpu, &set1);
    82  
     82
    8383  /* test if all bits except 1 clear */
    8484  for (i=0 ; i<CPU_SETSIZE ; i++) {
  • testsuites/sptests/spcpuset01/test.c

    r2ef0328 r5c332349  
    3636  printf( "Exercise CPU_AND with bits %d,%d\n",cpu1,cpu2 );
    3737  CPU_AND(&set3, &set1, &set2);
    38    
     38
    3939  /* test if all bits clear except cpu1 */
    4040  for (i=0 ; i<CPU_SETSIZE ; i++) {
     
    5454  printf( "Exercise CPU_NAND with bits %d,%d\n",cpu1,cpu2 );
    5555  CPU_NAND(&set3, &set1, &set2);
    56    
     56
    5757  /* test if all bits clear except cpu1 */
    5858  for (i=0 ; i<CPU_SETSIZE ; i++) {
     
    7171  printf( "Exercise CPU_OR with bits %d,%d\n",cpu1,cpu2 );
    7272  CPU_OR(&set3, &set1, &set2);
    73    
     73
    7474  /* test if all bits clear except cpu1 */
    7575  for (i=0 ; i<CPU_SETSIZE ; i++) {
     
    8888  printf( "Exercise CPU_XOR with bits %d,%d\n",cpu1,cpu2 );
    8989  CPU_XOR(&set3, &set1, &set2);
    90    
     90
    9191  /* test if all bits clear except cpu1 */
    9292  for (i=0 ; i<CPU_SETSIZE ; i++) {
     
    108108  CPU_COPY(&set2, &set1);
    109109  CPU_CLR(cpu2, &set2);
    110 }   
     110}
    111111
    112112void cpuset_logic_test()
Note: See TracChangeset for help on using the changeset viewer.