]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
uml: deal with host time going backwards
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Aug 2008 20:14:06 +0000 (16:14 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Aug 2008 18:15:35 +0000 (11:15 -0700)
commitbbdf9b9a28729ed1dd211368f76baef051aaecae
tree7feebf5e2b4c5db51f66d6de53db0b16730fea14
parent2fd42a3cc07e8facd413e9bcf12de69a525736ab
uml: deal with host time going backwards

commit 06e1e4ffbd1932e288839b3140cda6b8141eb684 upstream

Protection against the host's time going backwards (eg, ntp activity on
the host) by keeping track of the time at the last tick and if it's
greater than the current time, keep time stopped until the host catches
up.

Cc: Nix <nix@esperi.org.uk>
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/um/os-Linux/time.c