diff options
author | Tim Blechmann <tim@klingt.org> | 2009-10-17 18:08:29 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-19 09:52:39 +0200 |
commit | dc79959aaf80e518741657a702fa2727c86c1189 (patch) | |
tree | 39e7a00b90c972714657c74fd88d12759f36ea37 /Kbuild | |
parent | 210f9cb2cf2effca690271085f4bd6a3ea286e6c (diff) | |
download | linux-dc79959aaf80e518741657a702fa2727c86c1189.tar.gz linux-dc79959aaf80e518741657a702fa2727c86c1189.tar.bz2 linux-dc79959aaf80e518741657a702fa2727c86c1189.zip |
perf top: Fix --delay_secs 0 division by zero
Add delay_secs sanity check to handle_keypress,
this fixes a division by zero crash.
Signed-off-by: Tim Blechmann <tim@klingt.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4AD9EBFD.106@klingt.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions