Re: [PATCH 1/5] perf/arm-cci: Fix CPU hotplug race avoidance

From: Thomas Gleixner
Date: Sun Feb 10 2019 - 15:43:28 EST


On Mon, 4 Feb 2019, Robin Murphy wrote:
> +
> + cpus_read_lock();
> + cci_pmu->cpu = smp_processor_id();

That wants to be raw_smp_processor_id() because this is preemptible
context and debug_smp_processor_id() will complain.

Thanks,

tglx