diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-18 08:59:21 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-06 09:30:14 +0200 |
commit | 7bb497bd885eedd0f56dfe3cc1b5ff20710d33b9 (patch) | |
tree | 4f743d26a10f0a978ad2cfd0ef23c936c5ea0034 /arch/x86/kernel/tsc_sync.c | |
parent | 4e193bd4dfdc983d12969b51439b4a1fbaf2daad (diff) |
perf_counter: fix crash on perfmon v1 systems
Impact: fix boot crash on Intel Perfmon Version 1 systems
Intel Perfmon v1 does not support the global MSRs, nor does
it offer the generalized MSR ranges. So support v2 and later
CPUs only.
Also mark pmc_ops as read-mostly - to avoid false cacheline
sharing.
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/tsc_sync.c')
0 files changed, 0 insertions, 0 deletions