diff options
Diffstat (limited to 'freebsd/sys/sys/sx.h')
-rw-r--r-- | freebsd/sys/sys/sx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/freebsd/sys/sys/sx.h b/freebsd/sys/sys/sx.h index f8eba5e1..0c95df16 100644 --- a/freebsd/sys/sys/sx.h +++ b/freebsd/sys/sys/sx.h @@ -44,6 +44,9 @@ #ifdef __rtems__ #define SX_NOINLINE 1 +#define _sx_slock _bsd__sx_xlock +#define sx_try_slock_ _bsd_sx_try_xlock_ +#define _sx_sunlock _bsd__sx_xunlock #endif /* __rtems__ */ /* * In general, the sx locks and rwlocks use very similar algorithms. |