posix-timers: do_schedule_next_timer: fix the setting of ->si_overrun
authorOleg Nesterov <oleg@tv-sign.ru>
Wed, 23 Jul 2008 16:52:05 +0000 (20:52 +0400)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 23 Jul 2008 23:26:08 +0000 (01:26 +0200)
commit54da1174922cddd4be83d5a364b2e0fdd693f513
tree9ecd24b3fbe314421f25223b1fa738f0265d52a5
parent81d50bb254ed53a0da45a65988e4e1fa08e8a541
posix-timers: do_schedule_next_timer: fix the setting of ->si_overrun

do_schedule_next_timer() sets info->si_overrun = timr->it_overrun_last,
this discards the already accumulated overruns.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Mark McLoughlin <markmc@redhat.com>
Cc: Oliver Pinter <oliver.pntr@gmail.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: stable@kernel.org
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/posix-timers.c