From: Arjan van de Ven Date: Sun, 7 Sep 2008 23:08:55 +0000 (-0700) Subject: hrtimer: fix signed/unsigned bug in slack estimator X-Git-Tag: v2.6.28-rc1~18^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96d2ab484e7a9bafdab44b8c7d1ef5944319b18c;p=pandora-kernel.git hrtimer: fix signed/unsigned bug in slack estimator the slack estimator used unsigned math; however for very short delay it's possible that by the time you calculate the timeout, it's already passed and you get a negative time/slack... in an unsigned variable... which then gets turned into a 100 msec delay rather than zero. This patch fixes this by using a signed typee in the right places. Signed-off-by: Arjan van de Ven --- Reading git-diff-tree failed