]> git.baikalelectronics.ru Git - kernel.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)
commit885334956f3d9c69a6a5d6fad992431552ec84eb
treec76ad0854f28a0600885301e25e8e7197e4e924c
parent91b6c2a47522967619d3f977b50d77b68832d437
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