Skip to content

Commit

Permalink
uml: after_sleep_interval should return something
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Dec 3, 2007
1 parent b00296f commit 0a76532
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/um/os-Linux/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0a76532

Please sign in to comment.