From: Cyrill Gorcunov Date: Tue, 18 May 2010 21:19:18 +0000 (+0400) Subject: perf, x86: P4_pmu_schedule_events -- use smp_processor_id instead of raw_ X-Git-Tag: v2.6.35-rc1~30^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d36dfcf219e2ba1f1d169a7f92dcf2cbd4e05f0;p=pandora-kernel.git perf, x86: P4_pmu_schedule_events -- use smp_processor_id instead of raw_ This snippet somehow escaped the commit: | commit 137351e0feeb9f25d99488ee1afc1c79f5499a9a | Author: Cyrill Gorcunov | 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 Cc: Lin Ming Cc: Steven Rostedt Cc: Peter Zijlstra Cc: Frederic Weisbecker LKML-Reference: <20100518212439.167259349@openvz.org> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed