projects/linux·commit 0a765329

uml: after_sleep_interval should return something

0a765329 · Jeff Dike <[email protected]> · 2007-12-01 12:16:29 -08:00

I forgot to have an int-returning function actually return something.

Signed-off-by: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
0a765329ed656ef08915c8be4aba9031ba467ee4
Parents
b00296fb

Changes

1 files changed · +1 −0

FileStatusAddDelContent
arch/um/os-Linux/time.cmodified+1−0View file

arch/um/os-Linux/time.c

View file
diff --git a/arch/um/os-Linux/time.c b/arch/um/os-Linux/time.c
index ef02d94..e492805 100644
--- a/arch/um/os-Linux/time.c
+++ b/arch/um/os-Linux/time.c
@@ -77,6 +77,7 @@ long long os_nsecs(void)
#ifdef UML_CONFIG_NO_HZ
static int after_sleep_interval(struct timespec *ts)
{
+ return 0;
}
#else
static inline long long timespec_to_us(const struct timespec *ts)