aboutsummaryrefslogtreecommitdiff
path: root/kernel/lockdep.c
diff options
context:
space:
mode:
authorJoe Korty <joe.korty@ccur.com>2008-08-25 17:15:33 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-26 10:37:46 +0200
commit2189459d25a47401c69a17794c9d390c890351f9 (patch)
tree1e22875e4b4fd29e2af5e8078f5d82f814cc56fd /kernel/lockdep.c
parent83097aca8567a0bd593534853b71fe0fa9a75d69 (diff)
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 <mingo@elte.hu>
Diffstat (limited to 'kernel/lockdep.c')
0 files changed, 0 insertions, 0 deletions