aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2008-05-12 17:02:00 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-13 11:02:22 -0400
commitfe2cc53ee013a4d4d0317d418e7019fe6533a5a8 (patch)
tree7a173e2703c638b8eab4a2a6762c256114acec60 /arch/um/include
parent3d88958e01e71bb14a367db75f12f7a59c068f02 (diff)
uml: track and make up lost ticks
Alarm delivery could be noticably late in the !CONFIG_NOHZ case because lost ticks weren't being taken into account. This is now treated more carefully, with the time between ticks being calculated and the appropriate number of ticks delivered to the timekeeping system. 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>
Diffstat (limited to 'arch/um/include')
-rw-r--r--arch/um/include/process.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/include/process.h b/arch/um/include/process.h
index 838b4802ce53..bb873a51262e 100644
--- a/arch/um/include/process.h
+++ b/arch/um/include/process.h
@@ -11,7 +11,7 @@
11/* Copied from linux/compiler-gcc.h since we can't include it directly */ 11/* Copied from linux/compiler-gcc.h since we can't include it directly */
12#define barrier() __asm__ __volatile__("": : :"memory") 12#define barrier() __asm__ __volatile__("": : :"memory")
13 13
14extern void sig_handler(int sig, struct sigcontext sc); 14extern void sig_handler(int sig, struct sigcontext *sc);
15extern void alarm_handler(int sig, struct sigcontext sc); 15extern void alarm_handler(int sig, struct sigcontext *sc);
16 16
17#endif 17#endif