perf, x86: P4_pmu_schedule_events -- use smp_processor_id instead of raw_
authorCyrill Gorcunov <gorcunov@openvz.org>
Tue, 18 May 2010 21:19:18 +0000 (01:19 +0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 19 May 2010 07:41:05 +0000 (09:41 +0200)
commit9d36dfcf219e2ba1f1d169a7f92dcf2cbd4e05f0
treea8f4f8478e95f1a8359d99192662a038d5720500
parent623aab896ee1a532cb540bcf0d5ae8a88275afd5
perf, x86: P4_pmu_schedule_events -- use smp_processor_id instead of raw_

This snippet somehow escaped the commit:

 | commit 137351e0feeb9f25d99488ee1afc1c79f5499a9a
 | Author: Cyrill Gorcunov <gorcunov@openvz.org>
 | Date:   Sat May 8 15:25:52 2010 +0400
 |
 |    x86, perf: P4 PMU -- protect sensible procedures from preemption

so bring it eventually back. It helps to catch
preemption issue (if there will be, rule of thumb --
don't use raw_ if you can).

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Lin Ming <ming.m.lin@intel.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20100518212439.167259349@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_p4.c