]> git.karo-electronics.de Git - karo-tx-linux.git/commit
posix_cpu_timers: consolidate timer list cleanups
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 23 May 2013 00:36:58 +0000 (10:36 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 27 May 2013 06:08:05 +0000 (16:08 +1000)
commit8980d9881ee4ce594f91b57f9e1e6bb21a67ac99
treeeb2eba2da98859a664ee6d0d0b0ee274806c5fd6
parentc03654179f00e3334abdff7ec5b8c2b1cc8ed6a3
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/posix-cpu-timers.c