From: Joe Korty Date: Mon, 25 Aug 2008 21:15:33 +0000 (-0400) Subject: lockstat: fix numerical output rounding error X-Git-Tag: v2.6.27-rc5~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2189459d25a47401c69a17794c9d390c890351f9;p=pandora-kernel.git lockstat: fix numerical output rounding error Fix rounding error in /proc/lock_stat numerical output. On occasion the two digit fractional part contains the three digit value '100'. This is due to a bug in the rounding algorithm which pushes values in the range '95..99' to '100' rather than to '00' + an increment to the integer part. For example, - 123456.100 old display + 123457.00 new display Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed