From: Sudeep KarkadaNagesha Date: Fri, 20 Jul 2012 14:18:07 +0000 (+0100) Subject: ARM: perf: check ARMv7 counter validity on a per-pmu basis X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~53^2^2~9^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7279adbd9bb8ef8ff669da50f0e84c65a14022b5;p=pandora-kernel.git ARM: perf: check ARMv7 counter validity on a per-pmu basis Multi-cluster ARMv7 systems may have CPU PMUs with different number of counters. This patch updates armv7_pmnc_counter_valid so that it takes a pmu argument and checks the counter validity against that. We also remove a number of redundant counter checks whether the current PMU is not easily retrievable. Signed-off-by: Sudeep KarkadaNagesha Signed-off-by: Will Deacon --- Reading git-diff-tree failed