Changeset 3dd3ae6 in rtems-schedsim


Ignore:
Timestamp:
05/14/14 13:24:36 (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
deadc9a
Parents:
55b4c3e
git-author:
Joel Sherrill <joel.sherrill@…> (05/14/14 13:24:36)
git-committer:
Joel Sherrill <joel.sherrill@…> (05/14/14 14:41:32)
Message:

sys/cpuset.h: CPU_COPY missing on GNU/Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedsim/rtems/sched_cpu/sys/cpuset.h

    r55b4c3e r3dd3ae6  
    33 *  and it is defined in Makefile.am`
    44 */
     5
     6#ifndef __SCHEDSIM_SYS_CPUSET_h
     7#define __SCHEDSIM_SYS_CPUSET_h
     8
    59#include <sched.h>
    610#ifndef __CPU_ZERO_S
     
    812#endif
    913
     14#if defined(__gnu_linux__)
     15/* This was not defined as of at least CentOS 6.x */
     16/* copy src set to dest set */
     17static __inline void CPU_COPY( cpu_set_t *dest, const cpu_set_t *src )
     18{
     19  *dest = *src;
     20}
     21#endif
     22
     23#endif
Note: See TracChangeset for help on using the changeset viewer.