summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2010-05-06 06:55:22 +0400
committerFrederic Weisbecker <fweisbec@gmail.com>2010-05-09 15:45:29 +0400
commit5efe08cf685f33f562566dc68b6077b6f6a4f706 (patch)
treeae792d0ba092caed622825a39fec84eb6c67174c /lib
parent84c7a21791eb2e962a27e19bab5b77d5d9e13a34 (diff)
downloadlinux-5efe08cf685f33f562566dc68b6077b6f6a4f706.tar.xz
perf: Fix perf lock bad rate
Fix the cast made to get the bad rate. It is made in the result instead of the operands. We need the operands to be cast in double, otherwise the result will always be zero. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions