summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-10-23 14:21:34 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-10-23 14:21:44 -0500
commit8ddbc30f4156d870f005387faac1676aaaeca33c (patch)
treed799cc2ac99d045683b2607ac44d8d039798ba16
parentCommands: Build with IPV6 enabled (diff)
downloadrtems-libbsd-8ddbc30f4156d870f005387faac1676aaaeca33c.tar.bz2
rtems-bsd-sx.c: Disable check for interruptible blocking until it is supported
-rw-r--r--rtemsbsd/src/rtems-bsd-sx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rtemsbsd/src/rtems-bsd-sx.c b/rtemsbsd/src/rtems-bsd-sx.c
index 940a5af9..2b422ca9 100644
--- a/rtemsbsd/src/rtems-bsd-sx.c
+++ b/rtemsbsd/src/rtems-bsd-sx.c
@@ -194,7 +194,8 @@ _sx_xlock(struct sx *sx, int opts, const char *file, int line)
{
rtems_status_code sc = RTEMS_SUCCESSFUL;
- BSD_ASSERT((opts & SX_INTERRUPTIBLE) == 0);
+ #warning "SX_INTERRUPTIBLE NOT SUPPORTED YET"
+ /* BSD_ASSERT((opts & SX_INTERRUPTIBLE) == 0); */
sc = rtems_semaphore_obtain( sx->lock_object.lo_id, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
BSD_ASSERT_SC(sc);