From: Paul Mackerras Date: Thu, 5 Mar 2009 03:05:57 +0000 (+1100) Subject: perfcounters/powerpc: fix oops with multiple counters in a group X-Git-Tag: v2.6.31-rc1~383^2~489 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86028598de16538f02519141756ccf4accfc29a6;p=pandora-kernel.git perfcounters/powerpc: fix oops with multiple counters in a group Impact: fix oops-causing bug This fixes a bug in the powerpc hw_perf_counter_init where the code didn't initialize ctrs[n] before passing the ctrs array to check_excludes, leading to possible oopses and other incorrect behaviour. This fixes it by initializing ctrs[n] correctly. Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed