From: Thomas Gleixner Date: Fri, 7 Dec 2007 18:16:17 +0000 (+0100) Subject: clockevents: warn once when program_event() is called with negative expiry X-Git-Tag: v2.6.24-rc5~49^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=167b1de3ee4e50d65a2bd0a2667c9cd48faf54f3;p=pandora-kernel.git clockevents: warn once when program_event() is called with negative expiry The hrtimer problem with large relative timeouts resulting in a negative expiry time went unnoticed as there is no check in the clockevents_program_event() code. Put a check there with a WARN_ONCE to avoid such problems in the future. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed