mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-08-20 06:38:41 +00:00
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>