perf/x86/intel/uncore: Don't use smp_processor_id() in validate_group()
authorYan, Zheng <zheng.z.yan@intel.com>
Tue, 17 Sep 2013 06:48:13 +0000 (14:48 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 20 Sep 2013 04:54:36 +0000 (06:54 +0200)
commit73c4427c6ca3b32fa0441791e9c6eadceff7242f
tree630a2b7a972be6fca44014926b6731eb86ba90b9
parentc5ecceefdb840af45db436adc58219ae97b6ef3c
perf/x86/intel/uncore: Don't use smp_processor_id() in validate_group()

uncore_validate_group() can't call smp_processor_id() because it is
in preemptible context. Pass NUMA_NO_NODE to the allocator instead.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1379400493-11505-1-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_uncore.c