diff options
author | Will Deacon <will.deacon@arm.com> | 2010-11-04 18:23:50 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-11-07 16:12:38 +0000 |
commit | c3b291d98878a5f25fee56255bcfa420e85dff59 (patch) | |
tree | 9e3a996e5985fb98434ea6c1103a94f305707cb3 /include/linux | |
parent | d33aadbf8e9ba0b844c2a4a03723969c913ab03a (diff) |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions