Revision 89e07569e4e4e935b2cec18e9d94f131aecb2e40 authored by Andi Kleen on 02 April 2007, 10:14:12 UTC, committed by Andi Kleen on 02 April 2007, 10:14:12 UTC
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>
1 parent 3556ddf
History

back to top