Changeset 0d23ec9 in rtems-libbsd


Ignore:
Timestamp:
Jul 6, 2012, 5:23:37 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
c537dc2
Parents:
dbda808
Message:

Disable conflicts with RTEMS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/i386/include/freebsd/machine/cpufunc.h

    rdbda808 r0d23ec9  
    6666#if defined(__GNUCLIKE_ASM) && defined(__CC_SUPPORTS___INLINE)
    6767
     68#ifndef __rtems__
    6869static __inline void
    6970breakpoint(void)
     
    7172        __asm __volatile("int $3");
    7273}
     74#endif
    7375
    7476static __inline u_int
     
    171173#define HAVE_INLINE_FLS
    172174
     175#ifndef __rtems__
    173176static __inline int
    174177fls(int mask)
     
    176179        return (mask == 0 ? mask : (int)bsrl((u_int)mask) + 1);
    177180}
     181#endif
    178182
    179183#endif /* _KERNEL */
     
    675679#else /* !(__GNUCLIKE_ASM && __CC_SUPPORTS___INLINE) */
    676680
     681#ifndef __rtems__
    677682int     breakpoint(void);
     683#endif
    678684u_int   bsfl(u_int mask);
    679685u_int   bsrl(u_int mask);
Note: See TracChangeset for help on using the changeset viewer.