[PATCH] uml: fix wall_to_monotonic initialization
authorJeff Dike <jdike@addtoit.com>
Sun, 4 Jun 2006 09:51:46 +0000 (02:51 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 5 Jun 2006 19:29:17 +0000 (12:29 -0700)
commit5cb38bc47bf370570fce81f89e05e5250169060f
tree5df71668b2b42b575641c8f7e947769fca4e0602
parent65e62974a8a6157140259b26e7156e39f53031b6
[PATCH] uml: fix wall_to_monotonic initialization

From: Jeff Dike <jdike@addtoit.com>

Initialize wall_to_monotonic correctly.  This fixes a problem where sleeps
lasted about one secone less than they should.  This also called for a bit of
code restructuring, following a patch which Blaisorblade had been keeping.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/include/kern_util.h
arch/um/kernel/time_kern.c
arch/um/os-Linux/time.c