]> git.karo-electronics.de Git - karo-tx-linux.git/commit
um: fix global timer issue when using CONFIG_NO_HZ
authorRichard Weinberger <richard@nod.at>
Tue, 26 Oct 2010 21:21:13 +0000 (14:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:26:38 +0000 (13:26 -0800)
commit87e8f969fc693c8ccb8ecb440634f84c87428fd7
treebbda8c60a86d992f6e661b4d9ea641f21c30fd58
parentf412651038adcf93ed76a138a934a88481fecef5
um: fix global timer issue when using CONFIG_NO_HZ

commit 482db6df1746c4fa7d64a2441d4cb2610249c679 upstream.

This fixes a issue which was introduced by fe2cc53e ("uml: track and make
up lost ticks").

timeval_to_ns() returns long long and not int.  Due to that UML's timer
did not work properlt and caused timer freezes.

Signed-off-by: Richard Weinberger <richard@nod.at>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Jeff Dike <jdike@addtoit.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