From: Peter Zijlstra Date: Thu, 9 Dec 2010 13:15:34 +0000 (+0100) Subject: sched: Fix the irqtime code to deal with u64 wraps X-Git-Tag: v2.6.37-rc7~15^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe44d62122829959e960bc699318d58966922a69;p=pandora-kernel.git sched: Fix the irqtime code to deal with u64 wraps Some ARM systems have a short sched_clock() [ which needs to be fixed too ], but this exposed a bug in the irq_time code as well, it doesn't deal with wraps at all. Fix the irq_time code to deal with u64 wraps by re-writing the code to only use delta increments, which avoids the whole issue. Reviewed-by: Venkatesh Pallipadi Reported-by: Mikael Pettersson Tested-by: Mikael Pettersson Signed-off-by: Peter Zijlstra LKML-Reference: <1292242433.6803.199.camel@twins> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed