diff options
author | 2010-11-04 18:23:50 +0100 | |
---|---|---|
committer | 2010-11-07 16:12:38 +0000 | |
commit | c3b291d98878a5f25fee56255bcfa420e85dff59 (patch) | |
tree | 9e3a996e5985fb98434ea6c1103a94f305707cb3 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ARM: 6468/1: backtrace: fix calculation of thread stack base (diff) | |
download | wireguard-linux-c3b291d98878a5f25fee56255bcfa420e85dff59.tar.xz wireguard-linux-c3b291d98878a5f25fee56255bcfa420e85dff59.zip |
ARM: 6469/1: perf-events: squash compiler warning
armv7_pmnc_counter_has_overflowed can return uninitialised data
if an invalid counter is specified.
This patch fixes the code to return 0 in this case, which squashes
the compiler warning from GCC 4.5.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions