From: Stanislaw Gruszka Date: Wed, 29 Jul 2009 10:15:28 +0000 (+0200) Subject: itimers: Simplify arm_timer() code a bit X-Git-Tag: v2.6.32-rc1~168^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1e3b6d195770bd422e3229b88edfc154b6a27dd;p=pandora-kernel.git itimers: Simplify arm_timer() code a bit Don't update values in expiration cache when new ones are equal. Add expire_le() and expire_gt() helpers to simplify the code. Signed-off-by: Stanislaw Gruszka Acked-by: Peter Zijlstra Acked-by: Thomas Gleixner Cc: Oleg Nesterov Cc: Andrew Morton Cc: Paul Mackerras Cc: Benjamin Herrenschmidt LKML-Reference: <1248862529-6063-4-git-send-email-sgruszka@redhat.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed