timers: Consolidate base->next_timer update
authorThomas Gleixner <tglx@linutronix.de>
Fri, 25 May 2012 22:08:57 +0000 (22:08 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 6 Jun 2012 11:49:01 +0000 (13:49 +0200)
commitfacbb4a7efbd658046bf615f03cd97a1504785d8
tree9264c078252a2246d93f92eef59a0975bcf614a8
parentec44bc7acc3687ba6ae8154b4b5a845b70279237
timers: Consolidate base->next_timer update

Another bunch of mindlessly copied code. All callers of
internal_add_timer() except the recascading code updates
base->next_timer.

Move this into internal_add_timer() and let the cascading code call
__internal_add_timer().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/20120525214819.189946224@linutronix.de
kernel/timer.c