diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-12-01 15:16:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-03 11:13:17 -0500 |
commit | 0a765329ed656ef08915c8be4aba9031ba467ee4 (patch) | |
tree | 06fda066d6206674a650339ac1bfaaad4e3b632a /arch/um/os-Linux | |
parent | b00296fb781acfafa93687000cdef72b8922bb40 (diff) |
uml: after_sleep_interval should return something
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>
Diffstat (limited to 'arch/um/os-Linux')
-rw-r--r-- | arch/um/os-Linux/time.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
77 | #ifdef UML_CONFIG_NO_HZ | 77 | #ifdef UML_CONFIG_NO_HZ |
78 | static int after_sleep_interval(struct timespec *ts) | 78 | static int after_sleep_interval(struct timespec *ts) |
79 | { | 79 | { |
80 | return 0; | ||
80 | } | 81 | } |
81 | #else | 82 | #else |
82 | static inline long long timespec_to_us(const struct timespec *ts) | 83 | static inline long long timespec_to_us(const struct timespec *ts) |