usleep() seems to crash rtlinux when called from non-rt priority
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 1 Sep 2004 01:38:59 +0000 (01:38 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 1 Sep 2004 01:38:59 +0000 (01:38 +0000)
include/linux/comedi_rt.h

index 9609f8848ed3638e905f43435e32c07d0563c42d..e8e9a631cbc861cef1b2a555fdd9267d5f95899d 100644 (file)
@@ -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