commit | c3b291d98878a5f25fee56255bcfa420e85dff59 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Thu Nov 04 18:23:50 2010 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Nov 07 16:12:38 2010 +0000 |
tree | 9e3a996e5985fb98434ea6c1103a94f305707cb3 | |
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>