diff options
author | Robert Richter <robert.richter@amd.com> | 2011-02-02 17:40:57 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-02-16 13:30:50 +0100 |
commit | 41bf498949a263fa0b2d32524b89d696ac330e94 (patch) | |
tree | dfcd9497b87942185ef1db406c8b236a89bc1b4b /kernel/mutex.h | |
parent | d45dd923fcc620c948bd1eda16cc61426ac31646 (diff) | |
download | op-kernel-dev-41bf498949a263fa0b2d32524b89d696ac330e94.zip op-kernel-dev-41bf498949a263fa0b2d32524b89d696ac330e94.tar.gz |
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 <robert.richter@amd.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1296664860-10886-3-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions