From 0a765329ed656ef08915c8be4aba9031ba467ee4 Mon Sep 17 00:00:00 2001 From: Jeff Dike Date: Sat, 1 Dec 2007 12:16:29 -0800 Subject: uml: after_sleep_interval should return something I forgot to have an int-returning function actually return something. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/um/os-Linux/time.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/um') diff --git a/arch/um/os-Linux/time.c b/arch/um/os-Linux/time.c index ef02d941c2ad..e49280599465 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) -- cgit v1.2.3-59-g8ed1b