From: John Stultz Date: Wed, 10 Aug 2011 17:37:59 +0000 (-0700) Subject: alarmtimers: Change alarmtimer functions to return alarmtimer_restart values X-Git-Tag: v3.2-rc1~160^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b41308d2d0398409620613c7eaaaf52c738b042;p=pandora-kernel.git alarmtimers: Change alarmtimer functions to return alarmtimer_restart values In order to properly fix the denial of service issue with high freq periodic alarm timers, we need to push the re-arming logic into the alarm timer handler, much as the hrtimer code does. This patch introduces alarmtimer_restart enum and changes the alarmtimer handler declarations to use it as a return value. Further, to ease following changes, it extends the alarmtimer handler functions to also take the time at expiration. No logic is yet modified. CC: Thomas Gleixner Signed-off-by: John Stultz --- Reading git-diff-tree failed