From: Tero Kristo Date: Thu, 24 Feb 2011 15:19:23 +0000 (+0200) Subject: cpuidle: menu: fixed wrapping timers at 4.294 seconds X-Git-Tag: v3.0-rc1~13^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7467571f4480b273007517b26297c07154c73924;p=pandora-kernel.git cpuidle: menu: fixed wrapping timers at 4.294 seconds Cpuidle menu governor is using u32 as a temporary datatype for storing nanosecond values which wrap around at 4.294 seconds. This causes errors in predicted sleep times resulting in higher than should be C state selection and increased power consumption. This also breaks cpuidle state residency statistics. cc: stable@kernel.org # .32.x through .39.x Signed-off-by: Tero Kristo Signed-off-by: Len Brown --- Reading git-diff-tree failed