From: Jacob Shin Date: Wed, 6 Feb 2013 17:26:27 +0000 (-0600) Subject: perf/x86: Move MSR address offset calculation to architecture specific files X-Git-Tag: v3.9-rc1~173^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c1fd17a1cb32bc4f429c7a5ff9a91a3bffdb8fa;p=pandora-kernel.git perf/x86: Move MSR address offset calculation to architecture specific files Move counter index to MSR address offset calculation to architecture specific files. This prepares the way for perf_event_amd to enable counter addresses that are not contiguous -- for example AMD Family 15h processors have 6 core performance counters starting at 0xc0010200 and 4 northbridge performance counters starting at 0xc0010240. Signed-off-by: Jacob Shin Cc: Paul Mackerras Cc: Arnaldo Carvalho de Melo Cc: Stephane Eranian Cc: Jiri Olsa Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1360171589-6381-5-git-send-email-jacob.shin@amd.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed