commit | 89e07569e4e4e935b2cec18e9d94f131aecb2e40 | [log] [tgz] |
---|---|---|
author | Andi Kleen <ak@suse.de> | Mon Apr 02 12:14:12 2007 +0200 |
committer | Andi Kleen <andi@basil.nowhere.org> | Mon Apr 02 12:14:12 2007 +0200 |
tree | 93c7c3855c82e9ce47505e3d1d6a144100052748 | |
parent | 3556ddfa9284a86a59a9b78fe5894430f6ab4eef [diff] |
[PATCH] x86-64: Let oprofile reserve MSR on all CPUs The MSR reservation is per CPU and oprofile would only allocate them on the CPU it was initialized on. Change this to handle all CPUs. This also fixes a warning about unprotected use of smp_processor_id() in preemptible kernels. Signed-off-by: Andi Kleen <ak@suse.de>