git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.3
[linux-2.6.git]
/
include
/
linux
/
delay.h
diff --git
a/include/linux/delay.h
b/include/linux/delay.h
index
f561091
..
5c43c33
100644
(file)
--- a/
include/linux/delay.h
+++ b/
include/linux/delay.h
@@
-39,5
+39,11
@@
extern unsigned long loops_per_jiffy;
#endif
void msleep(unsigned int msecs);
+unsigned long msleep_interruptible(unsigned int msecs);
+
+static inline void ssleep(unsigned int seconds)
+{
+ msleep(seconds * 1000);
+}
#endif /* defined(_LINUX_DELAY_H) */