From: Frank Mori Hess Date: Wed, 1 Sep 2004 01:38:59 +0000 (+0000) Subject: usleep() seems to crash rtlinux when called from non-rt priority X-Git-Tag: r0_7_69~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=827301b133e0eb12a9d59296b5bdc29626c448fe;p=comedi.git usleep() seems to crash rtlinux when called from non-rt priority --- diff --git a/include/linux/comedi_rt.h b/include/linux/comedi_rt.h index 9609f884..e8e9a631 100644 --- a/include/linux/comedi_rt.h +++ b/include/linux/comedi_rt.h @@ -133,8 +133,6 @@ static inline void comedi_udelay( unsigned int usec ) #if defined(CONFIG_COMEDI_RTAI) static const int nanosec_per_usec = 1000; rt_busy_sleep( usec * nanosec_per_usec ); -#elif defined(CONFIG_COMEDI_RTL) - usleep( usec ); #else udelay( usec ); #endif