]> 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)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:06 +0000 (23:40 +0100)
commitcfa9f4a158d8c5fc0033798491bfcc9b8fe2619e
tree222c98e2bd63da2618a6cdc8698dd4bc37d1d2da
parentf876b27b05022df0c0ab813ea72ae5106f34a79c
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
arch/um/os-Linux/time.c