posix_cpu_timers: consolidate timer list cleanups
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 28 Jun 2013 00:06:42 +0000 (00:06 +0000)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 3 Jul 2013 14:18:37 +0000 (16:18 +0200)
commit1a7fa510b38e518d11365883934f1afa41625424
tree0eeb70e41e8416e58aa99a2c68cd3e8735cf2b50
parent55ccb616a6e42052edb37e9c4f82cf8854a59429
posix_cpu_timers: consolidate timer list cleanups

Cleaning up the posix cpu timers on task exit shares some common code
among timer list types, most notably the list traversal and expiry time
update.

Unify this in a common helper.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Cc: Olivier Langlois <olivier@trillion01.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/posix-cpu-timers.c