From: Will Deacon Date: Sat, 13 Nov 2010 17:13:56 +0000 (+0000) Subject: ARM: perf: consolidate common PMU behaviour X-Git-Tag: v2.6.38-rc1~471^2^2~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84fee97a026ca085f08381054513f9e24689a303;p=pandora-kernel.git ARM: perf: consolidate common PMU behaviour The functions for mapping PMU events (perf, cache and raw) are common between all PMU types and differ only in the data on which they operate. This patch implements common definitions of these mapping functions and changes the arm_pmu struct to hold pointers to the data which they require. This is in anticipation of separating out the PMU-specific code into separate files. Acked-by: Jamie Iles Acked-by: Jean Pihet Signed-off-by: Will Deacon --- Reading git-diff-tree failed