Skip to content
Commit 4608af8a authored by Marc Zyngier's avatar Marc Zyngier Committed by Pawel Moll
Browse files

bus: arm-cci: Fix use of smp_processor_id() in preemptible context



The ARM CCI driver seem to be using smp_processor_id() in a
preemptible context, which is likely to make a DEBUG_PREMPT
kernel scream at boot time.

Turn this into a get_cpu()/put_cpu() that extends over the CPU
hotplug registration, making sure that we don't race against
a CPU down operation.

Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Cc: stable@vger.kernel.org # 4.2+
Signed-off-by: default avatarPawel Moll <pawel.moll@arm.com>
parent b18c2b94
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment