From: Will Deacon Date: Thu, 4 Nov 2010 17:23:50 +0000 (+0100) Subject: ARM: 6469/1: perf-events: squash compiler warning X-Git-Tag: v2.6.37-rc2~27^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3b291d98878a5f25fee56255bcfa420e85dff59;p=pandora-kernel.git 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 Signed-off-by: Russell King --- Reading git-diff-tree failed