From: Venki Pallipadi Date: Wed, 20 Jun 2007 21:24:52 +0000 (-0700) Subject: [CPUFREQ] ondemand: add a check to avoid negative load calculation X-Git-Tag: v2.6.23-rc1~1103^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0af99b13c9f323e658b4f1d69a1ccae7d6f3f80a;p=pandora-kernel.git [CPUFREQ] ondemand: add a check to avoid negative load calculation Due to rounding and inexact jiffy accounting, idle_ticks can sometimes be higher than total_ticks. Make sure those cases are handled as zero load case. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Dave Jones --- Reading git-diff-tree failed