]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
uml: deal with host time going backwards
authorJeff Dike <jdike@addtoit.com>
Fri, 6 Jun 2008 05:46:10 +0000 (22:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2008 18:29:10 +0000 (11:29 -0700)
commit06e1e4ffbd1932e288839b3140cda6b8141eb684
treec76ad0854f28a0600885301e25e8e7197e4e924c
parent34397892a3d677d857fdaf8dec66a66b07dde0b5
uml: deal with host time going backwards

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>
arch/um/os-Linux/time.c