From: Robert Richter Date: Wed, 2 Feb 2011 16:40:57 +0000 (+0100) Subject: perf, x86: Calculate perfctr msr addresses in helper functions X-Git-Tag: v2.6.39-rc1~510^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41bf498949a263fa0b2d32524b89d696ac330e94;p=pandora-kernel.git perf, x86: Calculate perfctr msr addresses in helper functions This patch adds helper functions to calculate perfctr msr addresses. We need this to later add support for AMD family 15h cpus. For this we have to change the algorithms to generate the perfctr's msr addresses. Signed-off-by: Robert Richter Signed-off-by: Peter Zijlstra LKML-Reference: <1296664860-10886-3-git-send-email-robert.richter@amd.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed