diff options
| author | Peter Zijlstra <[email protected]> | 2014-02-05 10:19:56 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-02-09 12:08:25 +0000 |
| commit | 0e9f2204cfa6d79abe3e525ddf7c4ab5792cc751 (patch) | |
| tree | 5024f0c05df026a22ad5f4dbd98402bc4d7e995e /tools/perf/util/annotate.c | |
| parent | perf/x86/intel/p6: Add userspace RDPMC quirk for PPro (diff) | |
| download | kernel-0e9f2204cfa6d79abe3e525ddf7c4ab5792cc751.tar.gz kernel-0e9f2204cfa6d79abe3e525ddf7c4ab5792cc751.zip | |
perf/x86: Fix Userspace RDPMC switch
The current code forgets to change the CR4 state on the current CPU.
Use on_each_cpu() instead of smp_call_function().
Reported-by: Mark Davies <[email protected]>
Suggested-by: Mark Davies <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
