projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6125e27
)
fix argument to rtl_delay for rtlinux
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 9 Sep 2004 11:49:25 +0000
(11:49 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 9 Sep 2004 11:49:25 +0000
(11:49 +0000)
include/linux/comedi_rt.h
patch
|
blob
|
history
diff --git
a/include/linux/comedi_rt.h
b/include/linux/comedi_rt.h
index aa1799227c1e2ee7f191b5736cc3f013af4ac319..78191f7e81dff449fa54a859816d6c4c161b8ebd 100644
(file)
--- a/
include/linux/comedi_rt.h
+++ b/
include/linux/comedi_rt.h
@@
-132,9
+132,9
@@
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
);
+ rt_busy_sleep(
usec * nanosec_per_usec
);
#elif defined(CONFIG_COMEDI_RTL)
- rtl_delay(usec);
+ rtl_delay(usec
* nanosec_per_usec
);
#else
udelay( usec );
#endif