uml: after_sleep_interval should return something
authorJeff Dike <jdike@addtoit.com>
Sat, 1 Dec 2007 20:16:29 +0000 (12:16 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 3 Dec 2007 16:13:17 +0000 (08:13 -0800)
I forgot to have an int-returning function actually return something.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/os-Linux/time.c

index ef02d941c2adf7666c53210c24019d235dd3588b..e49280599465ec9ed4f44f4b0ffdf7e0807d2339 100644 (file)
@@ -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)