From 827301b133e0eb12a9d59296b5bdc29626c448fe Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 1 Sep 2004 01:38:59 +0000 Subject: [PATCH] usleep() seems to crash rtlinux when called from non-rt priority --- include/linux/comedi_rt.h | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.26.2