From: Michael Neuling Date: Tue, 20 Nov 2007 04:18:40 +0000 (+1100) Subject: [POWERPC] Fix possible division by zero in scaled time accounting X-Git-Tag: v2.6.24-rc4~109^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b46b5673ca67d23302c2afac045def988a3cade;p=pandora-kernel.git [POWERPC] Fix possible division by zero in scaled time accounting If we get no user time and no system time allocated since the last account_system_vtime, the system to user time ratio estimate can end up dividing by zero. This was causing a problem noticed by Balbir Singh. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed